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