| 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. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
AWTEventMulticaster
AWTEventMulticaster implements efficient and thread-safe multi-cast
 event dispatching for the AWT events defined in the java.awt.event
 package. | 
| Modifier and Type | Method and Description | 
|---|---|
static WindowFocusListener | 
AWTEventMulticaster.add(WindowFocusListener a,
   WindowFocusListener b)
Adds window-focus-listener-a with window-focus-listener-b
 and returns the resulting multicast listener. 
 | 
WindowFocusListener[] | 
Window.getWindowFocusListeners()
Returns an array of all the window focus listeners
 registered on this window. 
 | 
static WindowFocusListener | 
AWTEventMulticaster.remove(WindowFocusListener l,
      WindowFocusListener oldl)
Removes the old window-focus-listener from window-focus-listener-l
 and returns the resulting multicast listener. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static WindowFocusListener | 
AWTEventMulticaster.add(WindowFocusListener a,
   WindowFocusListener b)
Adds window-focus-listener-a with window-focus-listener-b
 and returns the resulting multicast listener. 
 | 
void | 
Window.addWindowFocusListener(WindowFocusListener l)
Adds the specified window focus listener to receive window events
 from this window. 
 | 
static WindowFocusListener | 
AWTEventMulticaster.remove(WindowFocusListener l,
      WindowFocusListener oldl)
Removes the old window-focus-listener from window-focus-listener-l
 and returns the resulting multicast listener. 
 | 
void | 
Window.removeWindowFocusListener(WindowFocusListener l)
Removes the specified window focus listener so that it no longer
 receives window events from this window. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
WindowAdapter
An abstract adapter class for receiving window events. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
protected class  | 
JMenu.WinListener
A listener class that watches for a popup window closing. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
protected class  | 
BasicToolBarUI.FrameListener  | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2014, Oracle and/or its affiliates.  All rights reserved.