Uses of Class java.awt.event.ComponentAdapter (Java Platform SE 8 )
Date: 2026-06-25

## Uses of Class
java.awt.event.ComponentAdapter

- Packages that use ComponentAdapter
  Package | Description
  --- | ---
  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 ComponentAdapter in javax.swing

    Subclasses of ComponentAdapter in javax.swing
    Modifier and Type | Class and Description
    --- | ---
    `protected class` | `JViewport.ViewListener` A listener for the view.

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

    Subclasses of ComponentAdapter in javax.swing.plaf.basic
    Modifier and Type | Class and Description
    --- | ---
    `class` | `BasicSliderUI.ComponentHandler` Listener for resizing events.
    `class` | `BasicTreeUI.ComponentHandler` Updates the preferred size when scrolling (if necessary).

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, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.