Edgardo Palza il y a 8 ans
Parent
commit
07db33872d
1 fichiers modifiés avec 1 ajouts et 2 suppressions
  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());