javax.swing.JOptionPane.showConfirmDialog
至于参数吗,自己看吧!

解决方案 »

  1.   

    设了
    int javax.swing.JOptionPane.showConfirmDialog(...)
    if(result=0)
    {
    text.requestfocus();
    }不行
      

  2.   

    nternter(nternter)这好像是jdk1.4.1的bug,jdk1.4.2好像没有这个bug.
      

  3.   

    applet本来不太好这样做的——弹出一个对话。虽然弹出来了,但是程序并没有等你的对话结束,仍在做其他事情。
      

  4.   

    为何在TT下不行的?只有在IE下才行,如何解决
      

  5.   

    http://community.csdn.net/Expert/topic/3087/3087629.xml?temp=.8763239