Menu

JOptionPane.showdialog never returns....

Help
2001-11-20
2001-11-24
  • Dean Hiller

    Dean Hiller - 2001-11-20

    When I use JOptionPane.showDialog, it never returns.  Is the solution to continue my test in another thread????  I was reading the Modal dialogs thread and wasn't sure if it answered this question.
    thanks,
    Dean

     
    • Vijay Aravamudhan

      I am not sure which JOption dialog you are using. Anyway, if your dialog is expecting a button push, then you will have to relinquish control of the thread and call 'disposeWindow()' so that it can be closed. I am not sure what the problem is though.
      Can you be more elaborate?
      Thanks
      Vijay

       

Log in to post a comment.