dcsimg
how to lock one JFrame in the presence of another JFrame
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Ahmad_Bilal
Posted On:   Wednesday, June 2, 2004 02:54 AM

i want that my previous frames(remaining application) should not be acessable to user if some spacific Jframe opens and when user close that spacific JFrame then he can give input to the application.

Regards
Ahmad Bilal Hasan

Re: how to lock one JFrame in the presence of another JFrame

Posted By:   niklas_gustafsson  
Posted On:   Thursday, June 3, 2004 07:49 AM

i see a setModal on JFrame. Try it......


Or use JDialog ( can be made modal )


Or try to take over the Gui-event-que.

Look in JOptionPane for the code ( StartModal ).


Or...............
About | Sitemap | Contact