| 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. | 
| javax.swing.plaf.synth | 
      Synth is a skinnable look and feel in which all painting is
      delegated. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AWTEventMulticasterAWTEventMulticasterimplements efficient and thread-safe multi-cast
 event dispatching for the AWT events defined in thejava.awt.eventpackage. | 
| protected class  | Component.AccessibleAWTComponent.AccessibleAWTComponentHandlerFire PropertyChange listener, if one is registered,
 when shown/hidden.. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected ComponentListener | Component.AccessibleAWTComponent. accessibleAWTComponentHandler | 
| Modifier and Type | Method and Description | 
|---|---|
| static ComponentListener | AWTEventMulticaster. add(ComponentListener a,
   ComponentListener b)Adds component-listener-a with component-listener-b and
 returns the resulting multicast listener. | 
| ComponentListener[] | Component. getComponentListeners()Returns an array of all the component listeners
 registered on this component. | 
| static ComponentListener | AWTEventMulticaster. remove(ComponentListener l,
      ComponentListener oldl)Removes the old component-listener from component-listener-l and
 returns the resulting multicast listener. | 
| Modifier and Type | Method and Description | 
|---|---|
| static ComponentListener | AWTEventMulticaster. add(ComponentListener a,
   ComponentListener b)Adds component-listener-a with component-listener-b and
 returns the resulting multicast listener. | 
| void | Component. addComponentListener(ComponentListener l)Adds the specified component listener to receive component events from
 this component. | 
| static ComponentListener | AWTEventMulticaster. remove(ComponentListener l,
      ComponentListener oldl)Removes the old component-listener from component-listener-l and
 returns the resulting multicast listener. | 
| void | Component. removeComponentListener(ComponentListener l)Removes the specified component listener so that it no longer
 receives component events from this component. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ComponentAdapterAn abstract adapter class for receiving component events. | 
| Modifier and Type | Class and Description | 
|---|---|
| protected class  | JViewport.ViewListenerA listener for the view. | 
| Modifier and Type | Class and Description | 
|---|---|
| protected class  | BasicInternalFrameUI.ComponentHandler | 
| class  | BasicSliderUI.ComponentHandlerListener for resizing events. | 
| class  | BasicTreeUI.ComponentHandlerUpdates the preferred size when scrolling (if necessary). | 
| Modifier and Type | Field and Description | 
|---|---|
| protected ComponentListener | BasicInternalFrameUI. componentListener | 
| protected ComponentListener | BasicSliderUI. componentListener | 
| Modifier and Type | Method and Description | 
|---|---|
| protected ComponentListener | BasicInternalFrameUI. createComponentListener() | 
| protected ComponentListener | BasicTreeUI. createComponentListener()Creates and returns a new ComponentHandler. | 
| protected ComponentListener | BasicSliderUI. createComponentListener(JSlider slider) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected ComponentListener | SynthInternalFrameUI. createComponentListener() | 
 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, 2017, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.