code: public JMenu addMenu(JMenuBar menuBar, String strAction, int iLocation)
      {
          JMenu menu = null;
          Application application = BaseApplet.getSharedInstance().getApplication();
          ResourceBundle oldResources = application.getResourceBundle();
          application.getResources(null, true);
  
          if (iLocation == JBaseToolbar.BEFORE_HELP)
              menuBar.add(menu = new JMenu(application.getString(strAction)), menuBar.getComponentCount() - 1);
          else
              menuBar.add(menu = new JMenu(application.getString(strAction)));
          menu.setMnemonic(menu.getText().charAt(0));
  
          if (oldResources != null)
              application.setResourceBundle(oldResources);
          menu.setOpaque(false);
  
          return menu;
      }
docs: Add the menu items to this frame.