getAppletContext().showDocument(new URL("http://www.csdn.net") , "_blank"));

解决方案 »

  1.   

    这样写的条件是什么?
    我是在记事本中写的,原来看了好多贴子,但都没有说这种方法有什么条件,
    所以,我试了几次也没有试出来
    还请 gularess(无吃哪拉) 说说吧 ,thank you
    当然其他人也一样,也thank you
      

  2.   

    条件? Not required any conditions, i think. 
    As long as it is in a browser, it should work.
      

  3.   

    是applet方法,
    一般写在applet的对按钮的监听的方法里。
    可用:this->....建议,不熟悉api时,用一种可以弹出方法的IDE。别用notepad.
      

  4.   

    It's not right for me yet.
    I found the following from a book:
      appletcontrol.showdocument();
    But when I write the mothed in my file,it's not right.
    I don't know the reason.
    I have no tools for writing the java,so I can write it useing Notepd.