1 | The class java.net.URL has methods to create and manipulate URL objects: |
2 | String urlStr = "http://www.npac.syr.edu/"; |
3 |
try {
|
4 |
} catch ( MalformedURLException e ) {
|
5 | } |
6 | The document at this URL may be displayed in the current browser window with: |
7 | getAppletContext().showDocument( url ); |
8 | Another version of showDocument(...) permits the document to be loaded into an arbitrary HTML frame. |