private void init(){
  setTitle("New WTA Network");
  wtaPanel=new WTAPropertiesPanel(networkPanel);
  tabLogic.add(wtaPanel);
  layoutPanel=new MainLayoutPanel(false,this);
  layoutPanel.setCurrentLayout(WinnerTakeAll.DEFAULT_LAYOUT);
  tabLayout.add(layoutPanel);
  tabbedPane.addTab("Logic",tabLogic);
  tabbedPane.addTab("Layout",tabLayout);
  setContentPane(tabbedPane);
  Action helpAction=new ShowHelpAction(wtaPanel.getHelpPath());
  addButton(new JButton(helpAction));
}

private void init ( ) { setTitle ( "New WTA Network" ) ; wtaPanel = new WTAPropertiesPanel ( networkPanel ) ; tabLogic . add ( wtaPanel ) ; layoutPanel = new MainLayoutPanel ( false , this ) ; layoutPanel . setCurrentLayout ( WinnerTakeAll . DEFAULT_LAYOUT ) ; tabLayout . add ( layoutPanel ) ; tabbedPane . addTab ( "Logic" , tabLogic ) ; tabbedPane . addTab ( "Layout" , tabLayout ) ; setContentPane ( tabbedPane ) ; Action helpAction = new ShowHelpAction ( wtaPanel . getHelpPath ( ) ) ; addButton ( new JButton ( helpAction ) ) ; }
this method initializes the components on the panel .
