else if (simPaneCtrl.getParamValue(PARAM_INIT_CONFIG).equals("Random"))
config = Config.QUEEN_IN_EVERY_COL;
else
config = Config.QUEENS_IN_FIRST_ROW;
experiment.initExperiment(config);
<BUG>stateViewCtrl.updateBoard(experiment.getBoard());
}</BUG>
@Override
public void finalize() {
simPaneCtrl.cancelSimulation();

else if (simPaneCtrl.getParamValue(PARAM_INIT_CONFIG).equals("Random"))
config = Config.QUEEN_IN_EVERY_COL;
else
config = Config.QUEENS_IN_FIRST_ROW;
experiment.initExperiment(config);
stateViewCtrl.update(experiment.getBoard());
}
@Override
public void finalize() {
simPaneCtrl.cancelSimulation();
