/**
* Defines the main window of the application.
- *
+ *
* @author David ‘Bombe’ Roden <bombe@freenetproject.org>
* @version $Id$
*/
/** The about menu. */
private I18nMenu aboutMenu;
-
+
/** The tabbed project pane. */
private JTabbedPane projectPane;
/**
* Creates a new main window that redirects all actions to the given swing
* interface.
- *
+ *
* @param swingInterface
* The swing interface to receive all actions
*/
/**
* Sets the text of the status bar.
- *
+ *
* @param text
* The text of the status bar
*/
return contentPane;
}
-
+ /**
+ * Returns the currently selected project.
+ *
+ * @return The currently selected project
+ */
public Project getSelectedProject() {
return null;
}
languageMenu.add(languageAction);
}
- menuBar.add(new JPanel());
+ JPanel spacerPanel = new JPanel();
+ spacerPanel.setOpaque(false);
+ menuBar.add(spacerPanel);
+
aboutMenu = new I18nMenu("mainWindow.menu.help");
menuBar.add(aboutMenu);