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

iphone - Three second countdown in cocos2d -

hyperlink - how to do url routing in php -

c - Avoiding Extra Malloc in Linked List (node->next = NULL) -