Edgardo Palza 8 years ago
parent
commit
07db33872d
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/ui/view/GUI.java

+ 1 - 2
src/ui/view/GUI.java

@@ -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());