|
@@ -54,6 +54,7 @@ import javax.swing.Box;
|
|
import javax.swing.BoxLayout;
|
|
import javax.swing.BoxLayout;
|
|
import java.awt.FlowLayout;
|
|
import java.awt.FlowLayout;
|
|
import java.awt.BorderLayout;
|
|
import java.awt.BorderLayout;
|
|
|
|
+import javax.swing.border.EmptyBorder;
|
|
|
|
|
|
public class StatPanel2 extends JSplitPane implements GraphListener {
|
|
public class StatPanel2 extends JSplitPane implements GraphListener {
|
|
public static final String MAIN_GRID = "Main Grid";
|
|
public static final String MAIN_GRID = "Main Grid";
|
|
@@ -114,6 +115,7 @@ public class StatPanel2 extends JSplitPane implements GraphListener {
|
|
|
|
|
|
|
|
|
|
public StatPanel2(Control cont) {
|
|
public StatPanel2(Control cont) {
|
|
|
|
+ setBorder(null);
|
|
setMaximumSize(new Dimension(0, 0));
|
|
setMaximumSize(new Dimension(0, 0));
|
|
setPreferredSize(new Dimension(0, 0));
|
|
setPreferredSize(new Dimension(0, 0));
|
|
setMinimumSize(new Dimension(0, 0));
|
|
setMinimumSize(new Dimension(0, 0));
|
|
@@ -163,6 +165,7 @@ public class StatPanel2 extends JSplitPane implements GraphListener {
|
|
propValTable.put(PROD_CONS_RATIO, TrackedDataSet.RATIO_PRODUCERS_CONSUMERS);
|
|
propValTable.put(PROD_CONS_RATIO, TrackedDataSet.RATIO_PRODUCERS_CONSUMERS);
|
|
|
|
|
|
JScrollPane graphScrollPane = new JScrollPane();
|
|
JScrollPane graphScrollPane = new JScrollPane();
|
|
|
|
+ graphScrollPane.setBorder(null);
|
|
setRightComponent(graphScrollPane);
|
|
setRightComponent(graphScrollPane);
|
|
|
|
|
|
graphPanel = new JPanel();
|
|
graphPanel = new JPanel();
|
|
@@ -172,6 +175,7 @@ public class StatPanel2 extends JSplitPane implements GraphListener {
|
|
graphScrollPane.setViewportView(graphPanel);
|
|
graphScrollPane.setViewportView(graphPanel);
|
|
|
|
|
|
JSplitPane splitPane = new JSplitPane();
|
|
JSplitPane splitPane = new JSplitPane();
|
|
|
|
+ splitPane.setBorder(null);
|
|
splitPane.setPreferredSize(new Dimension(0, 0));
|
|
splitPane.setPreferredSize(new Dimension(0, 0));
|
|
splitPane.setMinimumSize(new Dimension(0, 0));
|
|
splitPane.setMinimumSize(new Dimension(0, 0));
|
|
splitPane.setMaximumSize(new Dimension(0, 0));
|
|
splitPane.setMaximumSize(new Dimension(0, 0));
|
|
@@ -180,7 +184,9 @@ public class StatPanel2 extends JSplitPane implements GraphListener {
|
|
|
|
|
|
//========================== TREE STRUCTURE ===============================//
|
|
//========================== TREE STRUCTURE ===============================//
|
|
JScrollPane treeScrollPane = new JScrollPane();
|
|
JScrollPane treeScrollPane = new JScrollPane();
|
|
|
|
+ treeScrollPane.setBorder(null);
|
|
objectTree = new JTree();
|
|
objectTree = new JTree();
|
|
|
|
+ objectTree.setBorder(new EmptyBorder(0, 0, 0, 0));
|
|
treeModel = (DefaultTreeModel) objectTree.getModel();
|
|
treeModel = (DefaultTreeModel) objectTree.getModel();
|
|
DefaultMutableTreeNode root = new DefaultMutableTreeNode("Statistics");
|
|
DefaultMutableTreeNode root = new DefaultMutableTreeNode("Statistics");
|
|
mainGrid = new DefaultMutableTreeNode(MAIN_GRID);
|
|
mainGrid = new DefaultMutableTreeNode(MAIN_GRID);
|
|
@@ -608,6 +614,7 @@ public class StatPanel2 extends JSplitPane implements GraphListener {
|
|
|
|
|
|
//=========================== WINDOWBUILDER COMPONENTS ====================//
|
|
//=========================== WINDOWBUILDER COMPONENTS ====================//
|
|
JScrollPane scrollPane = new JScrollPane();
|
|
JScrollPane scrollPane = new JScrollPane();
|
|
|
|
+ scrollPane.setBorder(null);
|
|
splitPane.setRightComponent(scrollPane);
|
|
splitPane.setRightComponent(scrollPane);
|
|
|
|
|
|
JPanel editPanel = new JPanel();
|
|
JPanel editPanel = new JPanel();
|