From 6c0c49884491f8a50df7788ccd17fabd13a4fa78 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sat, 24 May 2008 19:00:51 +0200 Subject: [PATCH] remove upper panel from code --- src/net/pterodactylus/jsite/gui/MainWindow.java | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/net/pterodactylus/jsite/gui/MainWindow.java b/src/net/pterodactylus/jsite/gui/MainWindow.java index 8748315..28554c8 100644 --- a/src/net/pterodactylus/jsite/gui/MainWindow.java +++ b/src/net/pterodactylus/jsite/gui/MainWindow.java @@ -409,14 +409,10 @@ public class MainWindow extends JFrame implements WindowListener, I18nable, Prop */ private void initComponents() { super.getContentPane().add(statusBar, BorderLayout.PAGE_END); - - /* TODO - remove upper panel */ - JPanel upperPanel = new JPanel(new BorderLayout(12, 12)); - getContentPane().add(upperPanel, BorderLayout.CENTER); contentPane.setBorder(new EmptyBorder(12, 12, 12, 12)); projectPane = new JTabbedPane(SwingConstants.TOP, JTabbedPane.SCROLL_TAB_LAYOUT); - upperPanel.add(projectPane, BorderLayout.CENTER); + contentPane.add(projectPane, BorderLayout.CENTER); projectOverviewPanel = new Box(BoxLayout.PAGE_AXIS); projectOverviewPanel.setName(I18n.get("mainWindow.pane.overview.title")); @@ -427,9 +423,6 @@ public class MainWindow extends JFrame implements WindowListener, I18nable, Prop addProjectButton.setAlignmentX(0.5f); projectOverviewPanel.add(addProjectButton); projectOverviewPanel.add(Box.createVerticalGlue()); - - // JPanel lowerPanel = new JPanel(new BorderLayout(12, 12)); - // getContentPane().add(lowerPanel, BorderLayout.CENTER); } // -- 2.7.4