|
@@ -1878,10 +1878,10 @@ public class GUI<E> implements CategoryListener {
|
|
@Override
|
|
@Override
|
|
public void stateChanged(ChangeEvent e) {
|
|
public void stateChanged(ChangeEvent e) {
|
|
int i = model.getCurIteration();
|
|
int i = model.getCurIteration();
|
|
- controller.runAlgorithm(model, controller);
|
|
|
|
controller.calculateStateForTimeStep(i);
|
|
controller.calculateStateForTimeStep(i);
|
|
unitGraph.repaint();
|
|
unitGraph.repaint();
|
|
if (model.getIsSimRunning()) {
|
|
if (model.getIsSimRunning()) {
|
|
|
|
+ controller.runAlgorithm(model, controller);
|
|
statSplitPane.repaintGraphs();
|
|
statSplitPane.repaintGraphs();
|
|
}
|
|
}
|
|
contentPane.updateUI();
|
|
contentPane.updateUI();
|