# Uses of Interface
java.awt.event.WindowStateListener

Packages that use WindowStateListener
Package
Description
java.awt
Contains all of the classes for creating user interfaces and for painting graphics and images.
java.awt.event
Provides interfaces and classes for dealing with different types of events fired by AWT components.
javax.swing
Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.
javax.swing.plaf.basic
Provides user interface objects built according to the Basic look and feel.

- ## Uses of WindowStateListener in java.awt

  Classes in java.awt that implement WindowStateListener
  Modifier and Type
  Class
  Description
  `class`
  `AWTEventMulticaster`
  `AWTEventMulticaster` implements efficient and thread-safe multi-cast event dispatching for the AWT events defined in the `java.awt.event` package.
  Methods in java.awt that return WindowStateListener
  Modifier and Type
  Method
  Description
  `static WindowStateListener`
  AWTEventMulticaster.`add(WindowStateListener a, WindowStateListener b)`
  Adds window-state-listener-a with window-state-listener-b and returns the resulting multicast listener.
  `WindowStateListener[]`
  Window.`getWindowStateListeners()`
  Returns an array of all the window state listeners registered on this window.
  `static WindowStateListener`
  AWTEventMulticaster.`remove(WindowStateListener l, WindowStateListener oldl)`
  Removes the old window-state-listener from window-state-listener-l and returns the resulting multicast listener.
  Methods in java.awt with parameters of type WindowStateListener
  Modifier and Type
  Method
  Description
  `static WindowStateListener`
  AWTEventMulticaster.`add(WindowStateListener a, WindowStateListener b)`
  Adds window-state-listener-a with window-state-listener-b and returns the resulting multicast listener.
  `void`
  Window.`addWindowStateListener(WindowStateListener l)`
  Adds the specified window state listener to receive window events from this window.
  `static WindowStateListener`
  AWTEventMulticaster.`remove(WindowStateListener l, WindowStateListener oldl)`
  Removes the old window-state-listener from window-state-listener-l and returns the resulting multicast listener.
  `void`
  Window.`removeWindowStateListener(WindowStateListener l)`
  Removes the specified window state listener so that it no longer receives window events from this window.

- ## Uses of WindowStateListener in java.awt.event

  Classes in java.awt.event that implement WindowStateListener
  Modifier and Type
  Class
  Description
  `class`
  `WindowAdapter`
  An abstract adapter class for receiving window events.

- ## Uses of WindowStateListener in javax.swing

  Classes in javax.swing that implement WindowStateListener
  Modifier and Type
  Class
  Description
  `protected class`
  `JMenu.WinListener`
  A listener class that watches for a popup window closing.

- ## Uses of WindowStateListener in javax.swing.plaf.basic

  Classes in javax.swing.plaf.basic that implement WindowStateListener
  Modifier and Type
  Class
  Description
  `protected class`
  `BasicToolBarUI.FrameListener`
  The class listens for window events.