ConverterFileChooser fc = new ConverterFileChooser(System.getProperty("user.dir"));
fc.setDialogTitle("Set Data File");
int rval = fc.showOpenDialog(GUI.this);
if (rval == JFileChooser.APPROVE_OPTION) {
AbstractFileLoader loader = fc.getLoader();
try {
if (loader != null)
m_Instances = loader.getDataSet();
if (m_Instances.classIndex() == -1)
m_Instances.setClassIndex(m_Instances.numAttributes() - 1);
a_learn.setEnabled(true);
a_learnCPT.setEnabled(true);
repaint();