Making the Browser Visit a URL try { // The following 2 lines of code must be // on the same line getAppletContext().showDocument(new URL( getDocumentBase(), "http://hostname/page.html")); } catch (MalformedURLException e) { }