JLabel
, all kinds of buttons, JTextArea
, JEditorPane
, JTextPane
, JList
, JTable
and JTree
.
![]() |
Variable name: Specify a name for the popup menu. |
![]() |
Trigger mode: Decide which gesture makes the popup menu appear on screen. Popup trigger is the platform dependent way to trigger popup menus, most often by pressing the right mouse button. Button 1 displays the popup menu after the user pressed the left mouse button, you can decide if it is displayed on mouse released or on mouse pressed. Always is the combination of the first two options. |
![]() |
Sensitive area: You can restrict the area within which the popup menu will be triggered. If the popup menu is triggered, the mouse event will be consumed. |
![]() |
Popup position: Specify where (relative to the invoking component) the popup menu will be displayed. |
![]() |
Pre-display method name: The method to execute before the popup menu is to be displayed. This allows for manipulating the popup menu's items dependent on your application's current state. |