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  阅读(115)  评论(0编辑  收藏  举报