new Thread("CreateNodes") { public void run() { createNodes(); GUIUtils.timeConsumingTaskEnd(console); } }.start();
nodeCreator.start();
  private void runTrial() {    setTrialValues();    final CSMARTConsole console = this;    GUIUtils.timeConsumingTaskStart(this);    try {      new Thread("CreateNodes") {        public void run() {          createNodes();          GUIUtils.timeConsumingTaskEnd(console);        }      }.start();    } catch (RuntimeException re) {      re.printStackTrace();      GUIUtils.timeConsumingTaskEnd(this);    }  }