public void addViewPopUpMenu(JMenuItem menu){
  if (!viewAdditionalMenu.contains(menu)) {
    viewAdditionalMenu.add(menu);
  }
}

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