void (final Component comp, final int x, final int y) { int i = myFramesList.locationToIndex(new Point(x, y)); if (i != -1) myFramesList.selectFrame(i); ActionManager actionManager = ActionManager.getInstance(); ActionGroup group = (ActionGroup)actionManager.getAction(XDebuggerActions.FRAMES_TREE_POPUP_GROUP); actionManager.createActionPopupMenu("XDebuggerFramesList", group).getComponent().show(comp, x, y); }