|
@@ -766,6 +766,7 @@ public class GUI<E> implements CategoryListener {
|
|
|
updCon.refreshTableHolonElement(model.getMultiTable(), model.getSingleTable());
|
|
|
updCon.refreshTableProperties(model.getPropertyTable());
|
|
|
controller.calculateStateForTimeStep(model.getCurIteration());
|
|
|
+ contentPane.updateUI();
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -785,6 +786,7 @@ public class GUI<E> implements CategoryListener {
|
|
|
updCon.refreshTableHolonElement(model.getMultiTable(), model.getSingleTable());
|
|
|
updCon.refreshTableProperties(model.getPropertyTable());
|
|
|
controller.calculateStateForTimeStep(model.getCurIteration());
|
|
|
+ contentPane.updateUI();
|
|
|
// Names displayed in graph are not updated
|
|
|
}
|
|
|
model.getEleToDelete().clear();
|
|
@@ -950,6 +952,7 @@ public class GUI<E> implements CategoryListener {
|
|
|
updCon.refreshTableProperties(model.getPropertyTable());
|
|
|
model.getSingleTable().fireTableDataChanged();
|
|
|
controller.calculateStateForTimeStep(model.getCurIteration());
|
|
|
+ contentPane.updateUI();
|
|
|
unitGraph.repaint();
|
|
|
} catch (Exception e) {
|
|
|
|
|
@@ -1150,6 +1153,7 @@ public class GUI<E> implements CategoryListener {
|
|
|
canvas.repaint();
|
|
|
}
|
|
|
controller.calculateStateForCurrentTimeStep();
|
|
|
+ contentPane.updateUI();
|
|
|
dragging = false;
|
|
|
}
|
|
|
} catch (Exception eex) {
|
|
@@ -1610,6 +1614,7 @@ public class GUI<E> implements CategoryListener {
|
|
|
public void stateChanged(ChangeEvent e) {
|
|
|
int i = model.getCurIteration();
|
|
|
controller.calculateStateForTimeStep(i);
|
|
|
+ contentPane.updateUI();
|
|
|
unitGraph.repaint();
|
|
|
statSplitPane.repaintGraphs();
|
|
|
}
|