I'm trying to create a JButton in 1 of my 2 JFrames which exits the top or current JFrame...
If I try:
The entire, currently running Java Virtual Machine, exits... (both frames)
I'm basically trying to get the same result as
does to the X button on the JFrame, onto another JButton...
Any way to do that?