From eb84ac62c3e92522af0cf686e67d7815945d7293 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Mon, 21 Dec 2009 22:01:25 +0100 Subject: [PATCH] Add stub for creating the preferences panel. --- src/de/todesbaum/jsite/gui/PreferencesPage.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/de/todesbaum/jsite/gui/PreferencesPage.java b/src/de/todesbaum/jsite/gui/PreferencesPage.java index 791c139..eeac468 100644 --- a/src/de/todesbaum/jsite/gui/PreferencesPage.java +++ b/src/de/todesbaum/jsite/gui/PreferencesPage.java @@ -19,10 +19,12 @@ package de.todesbaum.jsite.gui; +import java.awt.BorderLayout; import java.awt.event.ActionEvent; import javax.swing.AbstractAction; import javax.swing.Action; +import javax.swing.JPanel; import de.todesbaum.jsite.i18n.I18n; import de.todesbaum.jsite.i18n.I18nContainer; @@ -68,6 +70,8 @@ public class PreferencesPage extends TWizardPage { */ private void pageInit() { createActions(); + setLayout(new BorderLayout(12, 12)); + add(createPreferencesPanel(), BorderLayout.CENTER); } /** @@ -94,6 +98,16 @@ public class PreferencesPage extends TWizardPage { } /** + * Creates the panel containing all preferences. + * + * @return The preferences panel + */ + private JPanel createPreferencesPanel() { + JPanel preferencesPanel = new JPanel(new BorderLayout(12, 12)); + return preferencesPanel; + } + + /** * Lets the user choose a new temp directory. */ private void chooseTempDirectory() { -- 2.7.4