220221222223224225226227228229230
menu.add(next); } if (it.hasNext()) { menu.addSeparator(); } } Component focusOwner = FocusManager.getCurrentManager().getFocusOwner(); menu.setInvoker(focusOwner);
261262263264265266267268269270271
{ menu = new JaspiraPopupMenu(title); } else { menu.addSeparator(); } menu.add(new JaspiraAction(toolbox, "toolbox.remove") { public void actionPerformed(ActionEvent ae)