public void addEditPopUpMenu(JMenuItem menu){
  if (!editAdditionalMenu.contains(menu)) {
    editAdditionalMenu.add(menu);
  }
}

public void addEditPopUpMenu ( JMenuItem menu ) { if ( ! editAdditionalMenu . contains ( menu ) ) { editAdditionalMenu . add ( menu ) ; } }
add a menu item to be displayed when the popup menu is called for when in edit mode .
