JMenu createInsertMenu(){
  JMenu insertMenu=new JMenu("Insert");
  insertMenu.add(actionManager.getNewNeuronAction());
  insertMenu.add(actionManager.getNewActivityGeneratorAction());
  insertMenu.addSeparator();
  insertMenu.add(new AddNeuronsAction(this));
  insertMenu.addSeparator();
  insertMenu.add(actionManager.getNewGroupMenu());
  insertMenu.add(actionManager.getNewNetworkMenu());
  insertMenu.addSeparator();
  insertMenu.add(actionManager.getTestInputAction());
  insertMenu.add(actionManager.getShowWeightMatrixAction());
  return insertMenu;
}

JMenu createInsertMenu ( ) { JMenu insertMenu = new JMenu ( "Insert" ) ; insertMenu . add ( actionManager . getNewNeuronAction ( ) ) ; insertMenu . add ( actionManager . getNewActivityGeneratorAction ( ) ) ; insertMenu . addSeparator ( ) ; insertMenu . add ( new AddNeuronsAction ( this ) ) ; insertMenu . addSeparator ( ) ; insertMenu . add ( actionManager . getNewGroupMenu ( ) ) ; insertMenu . add ( actionManager . getNewNetworkMenu ( ) ) ; insertMenu . addSeparator ( ) ; insertMenu . add ( actionManager . getTestInputAction ( ) ) ; insertMenu . add ( actionManager . getShowWeightMatrixAction ( ) ) ; return insertMenu ; }
create and return a new insert menu for this network panel .
