daileyps
September 27th, 2000, 04:15 PM
There's a parm to do this for JDialog, but haven't found anything on how to do this for a JFrame.
|
Click to See Complete Forum and Search --> : How do you make a JFrame modal? daileyps September 27th, 2000, 04:15 PM There's a parm to do this for JDialog, but haven't found anything on how to do this for a JFrame. Philip McGahan September 28th, 2000, 09:50 AM I do not see a way either. What I did was add a JOptionPane to the JFrame. The JOption frame is modal. daileyps September 28th, 2000, 03:37 PM I tried a variation of your response with JDialog, but lost some of my JFrame functionality. Will tinker with it. Thank you for the hint. unicman October 1st, 2000, 04:25 PM Well there is no direct support in Java for making JFrame modal. However using 'wait' and 'notify' in your sub-class of JFrame, you might be able to achieve that effect. - UnicMan http://members.tripod.com/unicman codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |