if (m_StorePredictionsBut.isSelected()) {
sp = (VisualizePanel)m_History.getSelectedObject(); /*    if (m_StorePredictionsBut.isSelected()) {
  protected void visualizeClusterer() {    final VisualizePanel sp;    if (m_StorePredictionsBut.isSelected()) {        sp = m_History.getSelectedVis();    } else {      sp = m_CurrentVis;    }      if (sp != null) {      String plotName = sp.getName();      final javax.swing.JFrame jf = 	new javax.swing.JFrame("Weka Clusterer Visualize: "+plotName);      jf.setSize(500,400);      jf.getContentPane().setLayout(new BorderLayout());      jf.getContentPane().add(sp, BorderLayout.CENTER);      jf.addWindowListener(new java.awt.event.WindowAdapter() {	  public void windowClosing(java.awt.event.WindowEvent e) {	    jf.dispose();	  }	});    //      jf.pack();      jf.setVisible(true);    }    /*sp.setInstances(m_predInstances);    sp.setPredictions(m_predictions);    sp.setColourIndex(-1); // do colouring using predictions, not dataset    sp.setPredictionsNumeric(false);*/  }