private void init(){
  setTitle("New Hopfield Network");
  hopPropertiesPanel=new HopfieldPropertiesPanel(networkPanel);
  hopPropertiesPanel.fillFieldValues();
  tabLogic.setLayout(new FlowLayout());
  tabLogic.add(hopPropertiesPanel);
  tabLayout.add(layoutPanel);
  layoutPanel=new MainLayoutPanel(false,this);
  tabbedPane.addTab("Logic",tabLogic);
  tabbedPane.addTab("Layout",layoutPanel);
  setContentPane(tabbedPane);
  Action helpAction=new ShowHelpAction(hopPropertiesPanel.getHelpPath());
  addButton(new JButton(helpAction));
}

private void init ( ) { setTitle ( "New Hopfield Network" ) ; hopPropertiesPanel = new HopfieldPropertiesPanel ( networkPanel ) ; hopPropertiesPanel . fillFieldValues ( ) ; tabLogic . setLayout ( new FlowLayout ( ) ) ; tabLogic . add ( hopPropertiesPanel ) ; tabLayout . add ( layoutPanel ) ; layoutPanel = new MainLayoutPanel ( false , this ) ; tabbedPane . addTab ( "Logic" , tabLogic ) ; tabbedPane . addTab ( "Layout" , layoutPanel ) ; setContentPane ( tabbedPane ) ; Action helpAction = new ShowHelpAction ( hopPropertiesPanel . getHelpPath ( ) ) ; addButton ( new JButton ( helpAction ) ) ; }
initializes all components used in dialog .
