| 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.event | Provides for events fired by Swing components. | 
| 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. | 
| javax.swing.text.html | Provides the class  HTMLEditorKitand supporting classes
for creating HTML text editors. | 
| Modifier and Type | Class | Description | 
|---|---|---|
| class  | ToolTipManagerManages all the  ToolTipsin the system. | 
| Modifier and Type | Class | Description | 
|---|---|---|
| class  | MouseInputAdapterAn empty implementation of the  MouseInputListenerinterface, provided
 as a convenience to simplify the task of creating listeners, by extending
 and implementing only the methods of interest. | 
| Modifier and Type | Class | Description | 
|---|---|---|
| protected class  | BasicComboPopup.InvocationMouseHandlerA listener to be registered upon the combo box
 (not its popup menu)
 to handle mouse events
 that affect the state of the popup menu. | |
| protected class  | BasicComboPopup.ListMouseHandlerThis listener hides the popup when the mouse is released in the list. | |
| class  | BasicDesktopIconUI.MouseInputHandlerListens for mouse movements and acts on them. | |
| protected class  | BasicFileChooserUI.DoubleClickListener | |
| protected class  | BasicInternalFrameUI.BorderListenerListens for border adjustments. | |
| protected class  | BasicScrollBarUI.ArrowButtonListenerListener for cursor keys. | |
| protected class  | BasicScrollBarUI.TrackListenerTrack mouse drags. | |
| class  | BasicSliderUI.TrackListenerTrack mouse movements. | |
| protected class  | BasicSplitPaneDivider.MouseHandlerMouseHandler is responsible for converting mouse events
 (released, dragged...) into the appropriate DragController
 methods. | |
| class  | BasicTabbedPaneUI.MouseHandlerThis class should be treated as a "protected" inner class. | |
| class  | BasicTreeUI.MouseHandlerTreeMouseListener is responsible for updating the selection
 based on mouse events. | 
| Modifier and Type | Class | Description | 
|---|---|---|
| protected class  | MetalFileChooserUI.SingleClickListener | 
| Modifier and Type | Class | Description | 
|---|---|---|
| protected class  | FormView.MouseEventListenerMouseEventListener class to handle form submissions when
 an input with type equal to image is clicked on. | |
| static class  | HTMLEditorKit.LinkControllerClass to watch the associated component and fire
 hyperlink events on it when appropriate. | 
 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, 2025, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.