jmenu.add(target.getParentContainer(), insert_index);
target.requestNewName();
MouseInputListener l = (MouseInputListener) jma.getAdapter(MouseInputListener.class);
if (l != null) {
l.mousePressed(null);
l.mousePressed(null);
}
} else {
JPopupMenuAdapter popupAdapter = (JPopupMenuAdapter) WidgetAdapter.getWidgetAdapter(popup);
if (insert_index == -1)
popup.add(target.getParentContainer());