(m_CompareCombo.getSelectedIndex() < 0)) {
(!comparisonFieldSet)) {
  public void setInstances(Instances newInstances) {    m_Instances = newInstances;    m_TTester.setInstances(m_Instances);    m_FromLab.setText("Got " + m_Instances.numInstances() + " results");        // Do other stuff    m_DatasetKeyModel.removeAllElements();    m_ResultKeyModel.removeAllElements();    m_CompareModel.removeAllElements();    m_SortModel.removeAllElements();    m_SortModel.addElement("<default>");    m_TTester.setSortColumn(-1);    int datasetCol = -1;    String selectedList = "";    String selectedListDataset = "";    for (int i = 0; i < m_Instances.numAttributes(); i++) {      String name = m_Instances.attribute(i).name();      if (name.toLowerCase().startsWith("key_", 0)) {	m_DatasetKeyModel.addElement(name.substring(4));	m_ResultKeyModel.addElement(name.substring(4));	m_CompareModel.addElement(name.substring(4));      } else {	m_DatasetKeyModel.addElement(name);	m_ResultKeyModel.addElement(name);	m_CompareModel.addElement(name);        if (m_Instances.attribute(i).isNumeric())	  m_SortModel.addElement(name);      }      if (name.toLowerCase().equals("key_dataset")) {	m_DatasetKeyList.addSelectionInterval(i, i);	selectedListDataset += "," + (i + 1);      } else if (name.toLowerCase().equals("key_run")) {	m_TTester.setRunColumn(i);      } else if (name.toLowerCase().equals("key_fold")) {	m_TTester.setFoldColumn(i);      } else if (name.toLowerCase().equals("key_scheme") ||		 name.toLowerCase().equals("key_scheme_options") ||		 name.toLowerCase().equals("key_scheme_version_id")) {	m_ResultKeyList.addSelectionInterval(i, i);	selectedList += "," + (i + 1);      } else if (name.toLowerCase().indexOf("percent_correct") != -1) {	m_CompareCombo.setSelectedIndex(i);	//	break;      } else if ((name.toLowerCase().indexOf("root_relative_squared_error") != -1) &&		 (m_CompareCombo.getSelectedIndex() < 0)) {	m_CompareCombo.setSelectedIndex(i);      }    }    m_TesterClasses.setEnabled(true);    m_DatasetKeyBut.setEnabled(true);    m_ResultKeyBut.setEnabled(true);    m_CompareCombo.setEnabled(true);    m_SortCombo.setEnabled(true);        Range generatorRange = new Range();    if (selectedList.length() != 0) {      try {	generatorRange.setRanges(selectedList);      } catch (Exception ex) {	ex.printStackTrace();	System.err.println(ex.getMessage());      }    }    m_TTester.setResultsetKeyColumns(generatorRange);    generatorRange = new Range();    if (selectedListDataset.length() != 0) {      try {	generatorRange.setRanges(selectedListDataset);      } catch (Exception ex) {	ex.printStackTrace();	System.err.println(ex.getMessage());      }    }    m_TTester.setDatasetKeyColumns(generatorRange);    m_SigTex.setEnabled(true);    setTTester();  }