Tweak TreeViewer layout since the zoom slider only affects the visual layout

This commit is contained in:
Sam Harwell 2013-05-01 22:38:05 -05:00
parent 9a75c629d2
commit 2fe7804ee3
1 changed files with 1 additions and 1 deletions

View File

@ -314,6 +314,7 @@ public class TreeViewer extends JComponent {
// Add button to bottom
JPanel bottomPanel = new JPanel(new BorderLayout(0,0));
contentPane.add(bottomPanel, BorderLayout.SOUTH);
JButton ok = new JButton("OK");
ok.addActionListener(
@ -399,7 +400,6 @@ public class TreeViewer extends JComponent {
treePanel, contentPane);
mainPane.add(splitPane, BorderLayout.CENTER);
mainPane.add(bottomPanel, BorderLayout.SOUTH);
dialog.setContentPane(mainPane);