ex.printStackTrace();
	public void windowClosing(WindowEvent e) {	  System.err.println("\nFinal Experiment:\n"			     + sp.m_Exp.toString());	  // Save the experiment to a file	  if (writeExp) {	    try {	      FileOutputStream fo = new FileOutputStream(expFile);	      ObjectOutputStream oo = new ObjectOutputStream(				      new BufferedOutputStream(fo));	      oo.writeObject(sp.m_Exp);	      oo.close();	    } catch (Exception ex) {	      System.err.println("Couldn't write experiment to: " + expFile				 + '\n' + ex.getMessage());	    }	  }	  jf.dispose();	  System.exit(0);	}