URL u = new URL(…………);
getAppletContext().showDocument(u);
判断自己加吧

解决方案 »

  1.   

    URL u = new URL(…………);
    getAppletContext().showDocument(u,"参数");
      

  2.   

    public boolean openurl(String avg)
        {
            URL url;
            try
            {
                url = new URL("http://www.csdn.net?ok="+avg);
            }
            catch(MalformedURLException _ex)
            {
                System.out.println("URL not found.");
                return true;
            }
            getAppletContext().showDocument(url, "_blank");
            return true;
        }这个好象只能在applet的继承类中用。我是这么用的。
      

  3.   

    getAppletContext()这个是applet的函数,当然只能在applet的继承类中用