Class DisposeWindow

  • All Implemented Interfaces:
    java.awt.event.WindowFocusListener, java.awt.event.WindowListener, java.awt.event.WindowStateListener, java.util.EventListener

    public class DisposeWindow
    extends java.awt.event.WindowAdapter
    The class DisposeWindow is an Adapter class for the WindowAdapter to dispose the window and setVisible to false.
    • Constructor Summary

      Constructors 
      Constructor Description
      DisposeWindow()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void windowClosed​(java.awt.event.WindowEvent we)
      void windowClosing​(java.awt.event.WindowEvent we)
      • Methods inherited from class java.awt.event.WindowAdapter

        windowActivated, windowDeactivated, windowDeiconified, windowGainedFocus, windowIconified, windowLostFocus, windowOpened, windowStateChanged
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DisposeWindow

        public DisposeWindow()
    • Method Detail

      • windowClosed

        public void windowClosed​(java.awt.event.WindowEvent we)
        Specified by:
        windowClosed in interface java.awt.event.WindowListener
        Overrides:
        windowClosed in class java.awt.event.WindowAdapter
      • windowClosing

        public void windowClosing​(java.awt.event.WindowEvent we)
        Specified by:
        windowClosing in interface java.awt.event.WindowListener
        Overrides:
        windowClosing in class java.awt.event.WindowAdapter