File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes Multiple JFrame Quick Help Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "Multiple JFrame Quick Help" Watch "Multiple JFrame Quick Help" New topic
Author

Multiple JFrame Quick Help

Ben Jass
Ranch Hand

Joined: Sep 25, 2010
Posts: 76
Let's say I have a JFrame with a bunch of buttons. I click a button and another JFrame pops up (giving me a bunch of setting options). Is there a way to make it so while the new JFrame is up, the original JFrame can not be clicked or edited?
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19216

Don't use a second JFrame but a modal JDialog.


SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://jrebel.com/download
 
subject: Multiple JFrame Quick Help
 
Similar Threads
jpanel help
making GlassPane visible
Component resize. What is best?
GridBagLayout "scrunched" together - messy?
Must or must not have main...