+ /*
+ * the main window consists of two panels which are vertically oriented.
+ * the upper panel contains of a tabbed pane, the lower panel consists
+ * of a table that lists the running requests.
+ */
+
+ JPanel upperPanel = new JPanel(new BorderLayout(12, 12));
+ getContentPane().add(upperPanel, BorderLayout.PAGE_START);
+ contentPane.setBorder(new EmptyBorder(12, 12, 12, 12));
+
+ projectPane = new JTabbedPane(SwingConstants.TOP, JTabbedPane.SCROLL_TAB_LAYOUT);
+ upperPanel.add(projectPane, BorderLayout.CENTER);
+
+ Box projectOverviewPanel = new Box(BoxLayout.PAGE_AXIS);
+ projectPane.add(I18n.get("mainWindow.pane.overview.title"), projectOverviewPanel);
+ projectOverviewPanel.setBorder(new EmptyBorder(12, 12, 12, 12));
+ projectOverviewPanel.add(Box.createVerticalGlue());
+ JButton addProjectButton = new JButton(swingInterface.getAddProjectAction());
+ addProjectButton.setAlignmentX(0.5f);
+ projectOverviewPanel.add(addProjectButton);
+ projectOverviewPanel.add(Box.createVerticalGlue());
+
+// JPanel lowerPanel = new JPanel(new BorderLayout(12, 12));
+// getContentPane().add(lowerPanel, BorderLayout.CENTER);