question: private void createAndAttachMenus ( ) { JMenuBar menuBar = new JMenuBar ( ) ; menuBar . add ( createFileMenu ( ) ) ; menuBar . add ( createViewMenu ( ) ) ; menuBar . add ( createInsertMenu ( ) ) ; menuBar . add ( createScriptMenu ( ) ) ; menuBar . add ( createCoupleMenu ( ) ) ; menuBar . add ( createHelpMenu ( ) ) ; frame . setJMenuBar ( menuBar ) ; }
target:  Create and attach workspace menus.