java - Make a JDialog sit until user has disposed properly -


i extended jdialog , made modal, etc.

how make not return dialog until user has selected ok button or cancel , dialog has been disposed?

i don't want add thread , have spinning. want wait until user disposes.

you can override setvisible() function, , check status before allow setvisible(false);.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

keyboard - C++ GetAsyncKeyState alternative -

android - java.net.UnknownHostException(Unable to resolve host “URL”: No address associated with hostname) -