private void addTab(final JTabbedPane tab,final String tabHeader,final CAbstractSettingsPanel panel){
  final JPanel parentPanel=new JPanel(new BorderLayout());
  parentPanel.add(panel,BorderLayout.NORTH);
  tab.addTab(tabHeader,new JScrollPane(parentPanel));
  m_settingsPanel.add(panel);
}

private void addTab ( final JTabbedPane tab , final String tabHeader , final CAbstractSettingsPanel panel ) { final JPanel parentPanel = new JPanel ( new BorderLayout ( ) ) ; parentPanel . add ( panel , BorderLayout . NORTH ) ; tab . addTab ( tabHeader , new JScrollPane ( parentPanel ) ) ; m_settingsPanel . add ( panel ) ; }
adds a single tab to the tabbed pane that displays the individual settings .
