Monday, 22 April 2013

Close Jframe On-Change Event In Swing

if you want to open new frame and close existing one try this :-
 
this.dispose();
System.exit(0);