super(); setDefaultCloseOperation(EXIT_ON_CLOSE);
super(title); setDefaultCloseOperation(EXIT_ON_CLOSE);
if (e.getID() == WindowEvent.WINDOW_CLOSING) { if (closeOp == EXIT_ON_CLOSE) System.exit(0); } super.processWindowEvent(e);
super.setDefaultCloseOperation(operation); closeOp = operation;