Answers for "what does setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE) is used for"

0

what does setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE) is used for

Calling setDefaultCloseOperation(EXIT_ON_CLOSE) does exactly this. It causes the application to exit when the application receives a close window event from the operating system.
Posted by: Guest on July-08-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language