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

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 ; }
create a selection jmenu .
