Пример #1
0
 public void hide() {
   WindowListener listener = windowListener;
   if (listener != null) {
     // We're not getting WINDOW_CLOSING from the native code when hiding
     // the window programmatically. So, create it and notify the listener.
     listener.windowClosing(new WindowEvent((Window) target, WindowEvent.WINDOW_CLOSING));
   }
   super.hide();
 }