|
@@ -616,7 +616,6 @@ public class GUI<E> implements CategoryListener {
|
|
|
}
|
|
|
if (SwingUtilities.isRightMouseButton(e)) {
|
|
|
editItem.setEnabled(true);
|
|
|
- System.out.println("HERE");
|
|
|
popmenuEdit.show(e.getComponent(), e.getX(), e.getY());
|
|
|
} else {
|
|
|
for (Category cat : model.getCategories()) {
|
|
@@ -745,7 +744,7 @@ public class GUI<E> implements CategoryListener {
|
|
|
tableModelProperties.addRow(tempRatioPerc);
|
|
|
} else if (temp instanceof HolonSwitch) {
|
|
|
deleteRows();
|
|
|
- Object[] tempActive = { "Active", ((HolonSwitch) temp).getActiveAt()[model.getCurIteration()]};
|
|
|
+ Object[] tempActive = { "Active", ((HolonSwitch) temp).getActiveAt()[model.getCurIteration()] };
|
|
|
tableModelProperties.addRow(tempActive);
|
|
|
unitGraph.repaintWithNewSwitch((HolonSwitch) temp);
|
|
|
elementGraph.setText(temp.getName());
|