PopupMenu.show
Class Overview | Class Members |
This Package |
All Packages
public void show( Component origin,
int x,
int y )
Parameters
- origin
- the component which defines the coordinate space
- x
- the x coordinate position to popup the menu
- y
- the y coordinate position to popup the menu
Description
Shows the popup menu at the x, y position relative to an origin component.
The origin component must be contained within the component hierarchy
of the popup menu's parent. Both the origin and the parent must be
showing on the screen for this method to be valid.