Hello.
I am working with netbeans, making a desktop application. I created several JFrames (each on a seperate java file) and I want, when I press a button to close the window that is active and show the new one.
How is this possible?
Thanks in advance.

