Is there a way to make a frame totally wipe all traces of itself (make it return null) by pressing the X on the window?
setDefaultCloseOperation(DISPOSE_ON_CLOSE);
doesn't actually make the frame return null, rather, it saves its state and cleans it out of memory... A call to show or pack will bring it back...... I want it gone!
Any ideas?