The moose likes Swing / AWT / SWT / JFace and the fly likes Serious problem with modality Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT / JFace
Reply Bookmark "Serious problem with modality" Watch "Serious problem with modality" New topic
Author

Serious problem with modality

Anusha Jv
Greenhorn

Joined: Jul 26, 2001
Posts: 19
Hi friends,
I have a small window in drag layer and once the window is visible all the panels in the other layers must be inactive.
(i.e)I have to set Modality true for that small window.
Once a OK button in the small window is clicked this window must disapper and other panels become active
I have tried it out with setting visibity for the glasslayer and adding mouselistener without any action to be performed.Now the panels in all layers including the drag layer also becomes inactive as the glass layer is the topmost one.
How should this be solved.
Please help me at the earliest.

Anu
 
 
subject: Serious problem with modality
 
Threads others viewed
ToolTipText
how windows can be made activ/inactive in java
Swing Application
JDialog on JDialog
Basic Organization of Swing Program
jQuery in Action, 2nd edition