| 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | JMenuItem. fireMenuDragMouseDragged(MenuDragMouseEvent event)Notifies all listeners that have registered interest for
 notification on this event type. | 
| protected void | JMenuItem. fireMenuDragMouseEntered(MenuDragMouseEvent event)Notifies all listeners that have registered interest for
 notification on this event type. | 
| protected void | JMenuItem. fireMenuDragMouseExited(MenuDragMouseEvent event)Notifies all listeners that have registered interest for
 notification on this event type. | 
| protected void | JMenuItem. fireMenuDragMouseReleased(MenuDragMouseEvent event)Notifies all listeners that have registered interest for
 notification on this event type. | 
| void | JMenuItem. processMenuDragMouseEvent(MenuDragMouseEvent e)Handles mouse drag in a menu. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | MenuDragMouseListener. menuDragMouseDragged(MenuDragMouseEvent e)Invoked when the mouse is being dragged in a menu component's
 display area. | 
| void | MenuDragMouseListener. menuDragMouseEntered(MenuDragMouseEvent e)Invoked when the dragged mouse has entered a menu component's
 display area. | 
| void | MenuDragMouseListener. menuDragMouseExited(MenuDragMouseEvent e)Invoked when the dragged mouse has left a menu component's
 display area. | 
| void | MenuDragMouseListener. menuDragMouseReleased(MenuDragMouseEvent e)Invoked when a dragged mouse is release in a menu component's
 display area. | 
 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, 2023, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.