How do I stop the program but not exit the JFrame?

Printable View