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);
}

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 ) ; }
create and attach workspace menus .
