Friday, March 10, 2006

WindowCloser code

i use this all the time:


this.addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent e) {
dispose();
}
});

No comments:

Post a Comment