-
September 27th, 2000, 04:15 PM
#1
How do you make a JFrame modal?
There's a parm to do this for JDialog, but haven't found anything on how to do this for a JFrame.
-
September 28th, 2000, 09:50 AM
#2
Re: How do you make a JFrame modal?
I do not see a way either.
What I did was add a JOptionPane to the JFrame.
The JOption frame is modal.
-
September 28th, 2000, 03:37 PM
#3
Re: How do you make a JFrame modal?
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.
-
October 1st, 2000, 04:25 PM
#4
Re: How do you make a JFrame modal?
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|