public void setFittingEnv(String mode) {
this.setTitle(TITLE + " - " + FITTING_TITLE);
session = new FittingSession();
//Creates and adds all necessary panels to jWAT main screen
WizardPanel p;
if (mode.equals("load")) {
p = new jmt.gui.jwat.fitting.panels.InputPanel(this);
} else {
p = new LoadDemoFittingPanel(this);