constraints.gridx=0;constraints.gridy=1;constraints.weightx=5; constraints.fill = GridBagConstraints.HORIZONTAL; constraints.gridwidth=1;constraints.gridheight=1; constraints.insets = new Insets(0,2,0,2); topLab.add(m_relativeCheck,constraints);  add(topLab, BorderLayout.NORTH); add(new JScrollPane(m_List), BorderLayout.CENTER);
this(); setExperiment(exp);
  public DatasetListPanel() {        m_List = new JList();    m_FileChooser.setFileFilter(m_ArffFilter);    // Multiselection isn't handled by the current implementation of the    // swing look and feels.    // m_FileChooser.setMultiSelectionEnabled(true);    m_FileChooser.setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES);    m_DeleteBut.setEnabled(false);    m_DeleteBut.addActionListener(this);    m_AddBut.setEnabled(false);    m_AddBut.addActionListener(this);    m_relativeCheck.setSelected(false);    m_relativeCheck.setToolTipText("Store file paths relative to "				   +"the start directory");    setLayout(new BorderLayout());    setBorder(BorderFactory.createTitledBorder("Datasets"));    JPanel topLab = new JPanel();    GridBagLayout gb = new GridBagLayout();    GridBagConstraints constraints = new GridBagConstraints();    topLab.setBorder(BorderFactory.createEmptyBorder(10, 5, 10, 5));    //    topLab.setLayout(new GridLayout(1,2,5,5));    topLab.setLayout(gb);       constraints.gridx=0;constraints.gridy=0;constraints.weightx=5;    constraints.fill = GridBagConstraints.HORIZONTAL;    constraints.gridwidth=1;constraints.gridheight=1;    constraints.insets = new Insets(0,2,0,2);    topLab.add(m_AddBut,constraints);    constraints.gridx=1;constraints.gridy=0;constraints.weightx=5;    constraints.gridwidth=1;constraints.gridheight=1;    topLab.add(m_DeleteBut,constraints);    constraints.gridx=0;constraints.gridy=1;constraints.weightx=5;    constraints.fill = GridBagConstraints.HORIZONTAL;    constraints.gridwidth=1;constraints.gridheight=1;    constraints.insets = new Insets(0,2,0,2);    topLab.add(m_relativeCheck,constraints);    add(topLab, BorderLayout.NORTH);    add(new JScrollPane(m_List), BorderLayout.CENTER);  }