|
@@ -82,6 +82,8 @@ import interfaces.CategoryListener;
|
|
|
import ui.controller.Control;
|
|
|
import ui.controller.UpdateController;
|
|
|
import ui.model.Model;
|
|
|
+import javax.swing.SwingConstants;
|
|
|
+import javax.swing.Box;
|
|
|
|
|
|
/**
|
|
|
* Graphical User Interface.
|
|
@@ -279,6 +281,7 @@ public class GUI<E> implements CategoryListener {
|
|
|
private final JSplitPane splitPane_1 = new JSplitPane();
|
|
|
private final JSlider holonBodySizeSlider = new JSlider();
|
|
|
private final JLabel lblHolonBodySize = new JLabel("HolonBody SIze");
|
|
|
+ private final JLabel lblSelectedElement = new JLabel("Selected Element: ");
|
|
|
|
|
|
/**
|
|
|
* Create the application.
|
|
@@ -916,7 +919,10 @@ public class GUI<E> implements CategoryListener {
|
|
|
graphLabel.add(maxGraph, BorderLayout.NORTH);
|
|
|
graphLabel.add(medGraph, BorderLayout.CENTER);
|
|
|
graphLabel.add(minGraph, BorderLayout.SOUTH);
|
|
|
+
|
|
|
+ toolBarGraph.add(lblSelectedElement);
|
|
|
toolBarGraph.add(elementGraph);
|
|
|
+ resetGraphBtn.setHorizontalAlignment(SwingConstants.RIGHT);
|
|
|
toolBarGraph.add(resetGraphBtn);
|
|
|
toolBarGraph.setFloatable(false);
|
|
|
scrollGraph.setRowHeaderView(graphLabel);
|
|
@@ -2277,5 +2283,4 @@ public class GUI<E> implements CategoryListener {
|
|
|
temp = null;
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
}
|