Пример #1
0
 public void windowClosing(WindowEvent e) {
   if (e.getSource() == this) {
     close();
     if (Recorder.record) Recorder.record("run", "Close");
   }
 }
Пример #2
0
 public void windowClosing(WindowEvent evt) {
   JFrame frame = (JFrame) evt.getSource();
   frame.setVisible(false);
   frame.dispose();
 }
Пример #3
0
 public void windowClosing(WindowEvent e) {
   if (e.getSource() == this) dispose();
 }