| 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.plaf | Provides one interface and many abstract classes that
Swing uses to provide its pluggable look-and-feel capabilities. | 
| javax.swing.plaf.basic | Provides user interface objects built according to the
Basic look and feel. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | AWTEventMulticaster. mouseWheelMoved(MouseWheelEvent e)Handles the mouseWheelMoved event by invoking the
 mouseWheelMoved methods on listener-a and listener-b. | 
| protected void | ScrollPane. processMouseWheelEvent(MouseWheelEvent e)Process mouse wheel events that are delivered to this
  ScrollPaneby scrolling an appropriate amount. | 
| protected void | Component. processMouseWheelEvent(MouseWheelEvent e)Processes mouse wheel events occurring on this component by
 dispatching them to any registered
  MouseWheelListenerobjects. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | MouseAdapter. mouseWheelMoved(MouseWheelEvent e)Invoked when the mouse wheel is rotated. | 
| void | MouseWheelListener. mouseWheelMoved(MouseWheelEvent e)Invoked when the mouse wheel is rotated. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | LayerUI. processMouseWheelEvent(MouseWheelEvent e,
                      JLayer<? extends V> l)Processes mouse wheel event occurring on the  JLayeror any of its subcomponents. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | BasicScrollPaneUI.MouseWheelHandler. mouseWheelMoved(MouseWheelEvent e)Called when the mouse wheel is rotated while over a
 JScrollPane. | 
 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.