A bozo's blog
MyJFrame.
this
.processWindowEvent(
new
WindowEvent(MyJFrame.
,WindowEvent.WINDOW_CLOSED));