void () { ActionManager actionManager = ActionManager.getInstance(); ActionPopupMenu popupMenu = actionManager.createActionPopupMenu(myArea.getPopupPlace(), myArea.getPopupActions()); MouseEvent event = (MouseEvent)myInputEvent; popupMenu.getComponent().show(myArea.getNativeComponent(), event.getX(), event.getY()); }