public JMenuBar getPanelMenuBar() {
   if (panelMenuBar == null) {
     JMenuItem menuItem;
     ICFLibAnyObj container = getSwingContainer();
     panelMenuBar = new JMenuBar();
     menuAdd = new JMenu("Add");
     actionAddTopProject = new ActionAddTopProject();
     if (container instanceof ICFInternetDomainBaseObj) {
       menuItem = new JMenuItem(actionAddTopProject);
       menuAdd.add(menuItem);
     }
     if (getSwingContainer() != null) {
       panelMenuBar.add(menuAdd);
     }
     menuSelected = new JMenu("Selected");
     menuSelected.setEnabled(false);
     actionViewSelected = new ViewSelectedActionTopProject();
     menuItem = new JMenuItem(actionViewSelected);
     menuSelected.add(menuItem);
     actionEditSelected = new EditSelectedActionTopProject();
     menuItem = new JMenuItem(actionEditSelected);
     menuSelected.add(menuItem);
     actionDeleteSelected = new DeleteSelectedActionTopProject();
     menuItem = new JMenuItem(actionDeleteSelected);
     menuSelected.add(menuItem);
     panelMenuBar.add(menuSelected);
   }
   return (panelMenuBar);
 }
 public JMenuBar getPanelMenuBar() {
   if (panelMenuBar == null) {
     JMenuItem menuItem;
     ICFLibAnyObj container = getSwingContainer();
     panelMenuBar = new JMenuBar();
     menuAdd = new JMenu("Add");
     actionAddDoubleType = new ActionAddDoubleType();
     if (container instanceof ICFBamSchemaDefObj) {
       menuItem = new JMenuItem(actionAddDoubleType);
       menuAdd.add(menuItem);
     }
     if (getSwingContainer() != null) {
       panelMenuBar.add(menuAdd);
     }
     menuSelected = new JMenu("Selected");
     menuSelected.setEnabled(false);
     actionViewSelected = new ViewSelectedActionDoubleType();
     menuItem = new JMenuItem(actionViewSelected);
     menuSelected.add(menuItem);
     actionEditSelected = new EditSelectedActionDoubleType();
     menuItem = new JMenuItem(actionEditSelected);
     menuSelected.add(menuItem);
     actionDeleteSelected = new DeleteSelectedActionDoubleType();
     menuItem = new JMenuItem(actionDeleteSelected);
     menuSelected.add(menuItem);
     panelMenuBar.add(menuSelected);
   }
   return (panelMenuBar);
 }
 public JMenuBar getFrameMenuBar() {
   if (frameMenuBar == null) {
     JMenuItem menuItem;
     frameMenuBar = new JMenuBar();
     menuFile = new JMenu("File");
     actionEdit = new ActionEdit();
     menuItem = new JMenuItem(actionEdit);
     menuFile.add(menuItem);
     actionSave = new ActionSave();
     menuItem = new JMenuItem(actionSave);
     menuFile.add(menuItem);
     actionClose = new ActionClose();
     menuItem = new JMenuItem(actionClose);
     menuFile.add(menuItem);
     actionDelete = new ActionDelete();
     menuItem = new JMenuItem(actionDelete);
     menuFile.add(menuItem);
     frameMenuBar.add(menuFile);
   }
   return (frameMenuBar);
 }