private void init(){
  setTitle("New Competitive Network");
  competitivePanel=CompetitivePropertiesPanel.createCompetitivePropertiesPanel(networkPanel,CompetitivePropsPanelType.CREATE_NETWORK);
  tabLogic.add(competitivePanel);
  layoutPanel=new MainLayoutPanel(false,this);
  layoutPanel.setCurrentLayout(new LineLayout());
  tabLayout.add(layoutPanel);
  tabbedPane.addTab("Logic",tabLogic);
  tabbedPane.addTab("Layout",layoutPanel);
  setContentPane(tabbedPane);
  Action helpAction=new ShowHelpAction(competitivePanel.getHelpPath());
  addButton(new JButton(helpAction));
}

private void init ( ) { setTitle ( "New Competitive Network" ) ; competitivePanel = CompetitivePropertiesPanel . createCompetitivePropertiesPanel ( networkPanel , CompetitivePropsPanelType . CREATE_NETWORK ) ; tabLogic . add ( competitivePanel ) ; layoutPanel = new MainLayoutPanel ( false , this ) ; layoutPanel . setCurrentLayout ( new LineLayout ( ) ) ; tabLayout . add ( layoutPanel ) ; tabbedPane . addTab ( "Logic" , tabLogic ) ; tabbedPane . addTab ( "Layout" , layoutPanel ) ; setContentPane ( tabbedPane ) ; Action helpAction = new ShowHelpAction ( competitivePanel . getHelpPath ( ) ) ; addButton ( new JButton ( helpAction ) ) ; }
initializes all components used in dialog .
