|
@@ -746,7 +746,7 @@ public class GUI<E> implements CategoryListener {
|
|
|
tableModelProperties.addRow(tempRatioPerc);
|
|
|
} else if (temp instanceof HolonSwitch) {
|
|
|
deleteRows();
|
|
|
- Object[] tempActive = { "Active", ((HolonSwitch) temp).getState() };
|
|
|
+ Object[] tempActive = { "Active", ((HolonSwitch) temp).getActiveAt()[model.getCurIteration()]};
|
|
|
tableModelProperties.addRow(tempActive);
|
|
|
unitGraph.repaintWithNewSwitch((HolonSwitch) temp);
|
|
|
elementGraph.setText(temp.getName());
|