Browse Source

no message

Edgardo Palza 8 years ago
parent
commit
eb5e196bec
1 changed files with 3 additions and 4 deletions
  1. 3 4
      src/ui/view/GUI.java

+ 3 - 4
src/ui/view/GUI.java

@@ -662,9 +662,9 @@ public class GUI<E> implements CategoryListener {
 		canvas.addMouseListener(new MouseAdapter() {
 			@Override
 			public void mousePressed(MouseEvent e) {
-				if(temp == null || temp.getID() != model.getSelectedObjectID()){
+				if (temp == null || temp.getID() != model.getSelectedObjectID()) {
 					unitGraph.empty();
-				}				
+				}
 				temp = getActualCps();
 				// Update of the Information about the HolonElements - only for
 				if (temp instanceof HolonObject) {
@@ -733,7 +733,7 @@ public class GUI<E> implements CategoryListener {
 					tableModelProperties.setCellEditable(2, 1, true);
 				} else if (getActualCps() == null) {
 					deleteRows();
-				} 
+				}
 			}
 
 		});
@@ -837,7 +837,6 @@ public class GUI<E> implements CategoryListener {
 				unitGraph.repaint();
 			}
 		});
-
 		splitPane.setRightComponent(splitPane_1);
 		splitPane.setDividerLocation(200);
 		splitPane_1.setDividerLocation(500);