public JMenu addHelpMenu ( JMenuBar menuBar ) { Application application = BaseApplet . getSharedInstance ( ) . getApplication ( ) ; ResourceBundle oldResources = application . getResourceBundle ( ) ; application . getResources ( null , true ) ; char [ ] rgchItemShortcuts = new char [ 20 ] ; JMenu menu = this . addMenu ( menuBar , ThinMenuConstants . HELP_MENU ) ; this . addMenuItem ( menu , ThinMenuConstants . ABOUT , rgchItemShortcuts ) ; menu . addSeparator ( ) ; this . addMenuItem ( menu , ThinMenuConstants . HELP , rgchItemShortcuts ) ; if ( oldResources != null ) application . setResourceBundle ( oldResources ) ; return menu ; }
Add a standard help menu to this menu bar