Class[] paramClasses = { CSMART.class, Experiment.class }; Object[] params = new Object[2]; params[0] = this; params[1] = experiment; createTool(PERFORMANCE_ANALYZER, Analyzer.class, experiment.getExperimentName(), experiment, paramClasses, params);
JFrame tool = (JFrame)new Analyzer(this, experiment); addTool(PERFORMANCE_ANALYZER, experiment.getExperimentName(), tool);
  protected void runAnalyzer(Experiment experiment) {    Class[] paramClasses = { CSMART.class, Experiment.class };    Object[] params = new Object[2];    params[0] = this;    params[1] = experiment;    createTool(PERFORMANCE_ANALYZER, Analyzer.class, 	       experiment.getExperimentName(), experiment,                paramClasses, params);  }