public GroupActivatingPanel(DatasetWithGroups dataset,Locker locker){
  this.dataset=dataset;
  this.locker=locker;
  this.model=new Model();
  initComponents();
  table.setDefaultRenderer(String.class,new StringRenderer());
  table.setDefaultRenderer(Boolean.class,new BooleanRenderer());
  JTableHeader header=table.getTableHeader();
  header.setReorderingAllowed(false);
  GUIUtilities.setTableHeader(header);
  table.setModel(model);
}

public GroupActivatingPanel ( DatasetWithGroups dataset , Locker locker ) { this . dataset = dataset ; this . locker = locker ; this . model = new Model ( ) ; initComponents ( ) ; table . setDefaultRenderer ( String . class , new StringRenderer ( ) ) ; table . setDefaultRenderer ( Boolean . class , new BooleanRenderer ( ) ) ; JTableHeader header = table . getTableHeader ( ) ; header . setReorderingAllowed ( false ) ; GUIUtilities . setTableHeader ( header ) ; table . setModel ( model ) ; }
it creates a new instance of the group activating / de - acticating panel .
