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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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