For future reference, always have setVisible as the last command issued when dealing with frames.
Type: Posts; User: newbie
For future reference, always have setVisible as the last command issued when dealing with frames.
If you want, you're only setting a JFrame object visible, so It can be a blank JFrame or your own subclass of it.
Really isn't any different to how you will have used JFrame's in the past
If you plan on going back to the window you navigate from, setVisible(boolean b) to false, and in the actionPerformed, set the new JFrame visible.
If you will don't plan on going back to the...