question: public JMenu createSelectionMenu ( ) { JMenu selectionMenu = new JMenu ( "Select" ) ; selectionMenu . add ( actionManager . getSelectAllAction ( ) ) ; selectionMenu . add ( actionManager . getSelectAllWeightsAction ( ) ) ; selectionMenu . add ( actionManager . getSelectAllNeuronsAction ( ) ) ; selectionMenu . add ( actionManager . getSelectIncomingWeightsAction ( ) ) ; selectionMenu . add ( actionManager . getSelectOutgoingWeightsAction ( ) ) ; return selectionMenu ; }
target:  Create a selection JMenu.