If this PopupMenu is being used as a Menu (i.e., it has a non-Component parent), then you cannot call this method on the PopupMenu.
@param origin the component which defines the coordinate space
@param x the x coordinate position to popup the menu
@param y the y coordinate position to popup the menu
@exception NullPointerException if the parent is null
@exception IllegalArgumentException if this PopupMenuhas a non-Component parent
@exception IllegalArgumentException if the origin is not in theparent's heirarchy
@exception RuntimeException if the parent is not showing on screen
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |