Exiting an Application when a JFrame is Closed

Tutorials Shared by the Internet Community

Advertisements


Synopsis

This tutorial shows how to change the default close action to exit the application when the window is closed.

Statistics

  • Total Hits - 16947

  • Total Votes - 112 votes

  • Vote Up - 48 votes

  • Vote Down - 64 votes

  • Domain - blog.codebeach.com

  • Category - JAVA/Swing

  • Submitted By - Devesh Khanna

  • Submitted on - 2008-03-12 11:12:12

Description

This tutorial shows how to change the default close action to exit the application when the window is closed. In additon, this discusses the different close actions. ...


Site  |   Broken  |   Tweet  |   Facebook  |     |   Save  |   Liked  |   Down

Advertisements