Qu'est-ce que setDefaultCloseOperation (jframe.exit_on_close) est utilisé pour
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.
Important Ibis