e553. 作为浏览器访问URL

    // See also e551 精简的Applet
    
    try {
        URL url = new URL(getDocumentBase(), "http://hostname.com/page.html");
        applet.getAppletContext().showDocument(url);
    } catch (MalformedURLException e) {
    }

 

Related Examples
posted @ 2018-09-02 21:05  Borter  阅读(121)  评论(0)    收藏  举报