set EXIT_ON_CLOSE on jframe

to exit the app when the window closes