I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 5e78a41b authored by jrandom's avatar jrandom Committed by zzz
Browse files

remove unnecessary scrolls and packs

parent c23d8efe
No related branches found
No related tags found
No related merge requests found
...@@ -51,7 +51,7 @@ class JFreeChartHeartbeatPlotPane extends NetViewerPlotPane { ...@@ -51,7 +51,7 @@ class JFreeChartHeartbeatPlotPane extends NetViewerPlotPane {
//dummy.setBackground(_gui.getBackground()); //dummy.setBackground(_gui.getBackground());
//dummy.setPreferredSize(new Dimension(800,600)); //dummy.setPreferredSize(new Dimension(800,600));
//add(dummy); //add(dummy);
setPreferredSize(new Dimension(800,600));
//add(_panel); //add(_panel);
} }
......
...@@ -50,7 +50,8 @@ class NetViewerGUI extends JFrame { ...@@ -50,7 +50,8 @@ class NetViewerGUI extends JFrame {
_controlPane.setBackground(_background); _controlPane.setBackground(_background);
//getContentPane().add(_controlPane, BorderLayout.SOUTH); //getContentPane().add(_controlPane, BorderLayout.SOUTH);
JSplitPane split = new JSplitPane(JSplitPane.VERTICAL_SPLIT, pane, new JScrollPane(_controlPane)); JSplitPane split = new JSplitPane(JSplitPane.VERTICAL_SPLIT, _plotPane, _controlPane);
//split.setDividerLocation(0.3d);
getContentPane().add(split, BorderLayout.CENTER); getContentPane().add(split, BorderLayout.CENTER);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
initializeMenus(); initializeMenus();
...@@ -62,7 +63,7 @@ class NetViewerGUI extends JFrame { ...@@ -62,7 +63,7 @@ class NetViewerGUI extends JFrame {
public void stateUpdated() { public void stateUpdated() {
_controlPane.stateUpdated(); _controlPane.stateUpdated();
_plotPane.stateUpdated(); _plotPane.stateUpdated();
pack(); //pack();
} }
public void refreshView() { public void refreshView() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment