Uses of Class javax.swing.event.MouseInputAdapter (Java Platform SE 8 )
Date: 2026-07-22

## Uses of Class
javax.swing.event.MouseInputAdapter

- Packages that use MouseInputAdapter
  Package | Description
  --- | ---
  javax.swing.plaf.basic | Provides user interface objects built according to the Basic look and feel.
  javax.swing.plaf.metal | Provides user interface objects built according to the Java look and feel (once codenamed Metal), which is the default look and feel.

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

    Subclasses of MouseInputAdapter in javax.swing.plaf.basic
    Modifier and Type | Class and Description
    --- | ---
    `class` | `BasicDesktopIconUI.MouseInputHandler` Listens for mouse movements and acts on them.
    `protected class` | `BasicInternalFrameUI.BorderListener` Listens for border adjustments.
    `class` | `BasicSliderUI.TrackListener` Track mouse movements.

    Fields in javax.swing.plaf.basic declared as MouseInputAdapter
    Modifier and Type | Field and Description
    --- | ---
    `protected MouseInputAdapter` | BasicInternalFrameUI.`borderListener`

    Methods in javax.swing.plaf.basic that return MouseInputAdapter
    Modifier and Type | Method and Description
    --- | ---
    `protected MouseInputAdapter` | BasicInternalFrameUI.`createBorderListener(JInternalFrame w)`

  - ### Uses of MouseInputAdapter in javax.swing.plaf.metal

    Methods in javax.swing.plaf.metal that return MouseInputAdapter
    Modifier and Type | Method and Description
    --- | ---
    `protected MouseInputAdapter` | MetalInternalFrameUI.`createBorderListener(JInternalFrame w)` Returns the `MouseInputAdapter` that will be installed on the TitlePane.

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.