public synchronized void setInstances(Instances newins) {
public void setInstances(Instances newins) {
  public synchronized void setInstances(Instances newins) {    attribIndex = 0;    m_data = newins;    as=null;    if(m_colorAttrib!=null) {	m_colorAttrib.removeAllItems();	for(int i=0; i<m_data.numAttributes(); i++) {	    m_colorAttrib.addItem(new String("Colour: "+m_data.attribute(i).name()+" "+					     ((m_data.attribute(i).isNominal()) ? "(Nom)":"(Num)")));	}	m_colorAttrib.setSelectedIndex(m_data.numAttributes()-1);  	//if (m_data.classIndex() >= 0) {	//    m_colorAttrib.setSelectedIndex(m_data.classIndex());	//}  }    classIndex = m_data.numAttributes()-1;        this.repaint();  }