Retrieves the shortcut menu (also known as a context menu) associated with this control.
public final ContextMenu getContextMenu()
Returns The ContextMenu object that represents the shortcut menu that appears when the user right-clicks this control.
The shortcut menu is the menu that appears when the user right-clicks the control.
See Also setContextMenu