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.