nesnemis
asked on
jframe wait for jdialog
Hi
I have a Jframe that opens a Jdialog, When the dialog opens I want the jframe to stop whatever it's doing and wait for the dialog to be closed.
I've tried with wait(), notify(9 and threads, but I can't get it to work
Nesnemis
I have a Jframe that opens a Jdialog, When the dialog opens I want the jframe to stop whatever it's doing and wait for the dialog to be closed.
I've tried with wait(), notify(9 and threads, but I can't get it to work
Nesnemis
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Either use the setModal method or create a JDialog by using thsi constructor: JDialog(Frame owner, String title, boolean modal)
ASKER
Oh, all this work and it is that easy...
Thanks!
Thanks!
Thank you for accepting, glad problem is solved :)