java - How to consume mouseClick event if mouse clicked outside JWindow? -


right i'm looking solution how restrict/consume mouseclicked event if mouse clicked outside jwindow. example - jwindow has 2 buttons "yes" , "no" (like dialog). , it's parent has various buttons - must inactive during jwindow (dialog) visible. should restrict parents buttons actions each manually - or maybe there better solution?

..some better solution?

a modal dialog. when modal dialog visible, access tot parent component blocked.

see how use modality in dialogs more details.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -