question: JMenu createViewMenu ( ) { JMenu viewMenu = new JMenu ( "View" ) ; JMenu toolbarMenu = new JMenu ( "Toolbars" ) ; toolbarMenu . add ( actionManager . getShowMainToolBarMenuItem ( ) ) ; toolbarMenu . add ( actionManager . getShowRunToolBarMenuItem ( ) ) ; toolbarMenu . add ( actionManager . getShowEditToolBarMenuItem ( ) ) ; viewMenu . add ( toolbarMenu ) ; viewMenu . addSeparator ( ) ; viewMenu . add ( actionManager . getShowPrioritiesAction ( ) ) ; viewMenu . add ( actionManager . getShowWeightsAction ( ) ) ; return viewMenu ; }
target:  Create and return a new View menu for this Network panel.