|
@@ -172,6 +172,9 @@ public class StatPanel2 extends JSplitPane implements GraphListener {
|
|
graphScrollPane.setViewportView(graphPanel);
|
|
graphScrollPane.setViewportView(graphPanel);
|
|
|
|
|
|
JSplitPane splitPane = new JSplitPane();
|
|
JSplitPane splitPane = new JSplitPane();
|
|
|
|
+ splitPane.setPreferredSize(new Dimension(0, 0));
|
|
|
|
+ splitPane.setMinimumSize(new Dimension(0, 0));
|
|
|
|
+ splitPane.setMaximumSize(new Dimension(0, 0));
|
|
splitPane.setOrientation(JSplitPane.VERTICAL_SPLIT);
|
|
splitPane.setOrientation(JSplitPane.VERTICAL_SPLIT);
|
|
setLeftComponent(splitPane);
|
|
setLeftComponent(splitPane);
|
|
|
|
|
|
@@ -578,9 +581,9 @@ public class StatPanel2 extends JSplitPane implements GraphListener {
|
|
splitPane.setRightComponent(scrollPane);
|
|
splitPane.setRightComponent(scrollPane);
|
|
|
|
|
|
JPanel editPanel = new JPanel();
|
|
JPanel editPanel = new JPanel();
|
|
- editPanel.setBounds(0,0,600,600);
|
|
|
|
- editPanel.setPreferredSize(new Dimension(420,280));
|
|
|
|
- scrollPane.setBounds(0,0,600,600);
|
|
|
|
|
|
+ //editPanel.setBounds(0,0,600,600);
|
|
|
|
+ editPanel.setPreferredSize(new Dimension(170, 210));
|
|
|
|
+ //scrollPane.setBounds(0,0,600,600);
|
|
scrollPane.setViewportView(editPanel);
|
|
scrollPane.setViewportView(editPanel);
|
|
editPanel.setLayout(null);
|
|
editPanel.setLayout(null);
|
|
|
|
|