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

猜你喜欢

转载自www.cnblogs.com/borter/p/9575316.html
今日推荐