|
@@ -96,7 +96,8 @@ public class GUI implements CategoryListener {
|
|
|
|
|
|
private JTable tableHolonElement = new JTable();
|
|
|
private DefaultTableModel tableModelHolonElement = new DefaultTableModel();
|
|
|
- private final JScrollPane scrollElements = new JScrollPane();
|
|
|
+ private final JPanel scrollElements = new JPanel();
|
|
|
+ JScrollPane tableHolonElementScrollPane = new JScrollPane();
|
|
|
|
|
|
// In this section are all the properties that correspond to the clicked
|
|
|
// HolonObject, such as connections, name, Type, etc.
|
|
@@ -266,10 +267,13 @@ public class GUI implements CategoryListener {
|
|
|
* End of right container setup
|
|
|
*/
|
|
|
scrollProperties.setViewportView(tableProperties);
|
|
|
- scrollElements.setViewportView(tableHolonElement);
|
|
|
+ tableHolonElementScrollPane.setViewportView(tableHolonElement);
|
|
|
scrollGraph.setViewportView(testgraph);
|
|
|
-
|
|
|
- scrollElements.setRowHeaderView(panel_HolonEl);
|
|
|
+
|
|
|
+ scrollElements.setLayout(new BorderLayout(0,0));
|
|
|
+ scrollElements.add(panel_HolonEl, BorderLayout.NORTH);
|
|
|
+ scrollElements.add(tableHolonElementScrollPane);
|
|
|
+
|
|
|
panel_HolonEl.setLayout(new BoxLayout(panel_HolonEl, BoxLayout.X_AXIS));
|
|
|
toolBarHolonEl.setFloatable(false);
|
|
|
|