1

I want to close the application when I press Close icon which is X at the right top corner.. but when I press that icon, the application closes but in netbeans it's also showing that the current program is running. I want to close that all. I also check in properties window, it's EXIT_ON_CLOSE.

user2828860
  • 11
  • 1
  • 3
  • 1
    Please have a look at this thread [Quitting an application - is that frowned upon?](http://stackoverflow.com/questions/2033914/quitting-an-application-is-that-frowned-upon) – Matt Clark Sep 29 '13 at 17:06
  • 1
    You may add a exit hook and do System.exit(0); there to be sure.. – MightyPork Sep 29 '13 at 17:08

0 Answers0