From 4bfbc284b49cbdec9f96b456b6920593bf45401a 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:11:59 +0100 Subject: [PATCH] =?utf8?q?Add=20=E2=80=9Cfile=20options=E2=80=9D=20label.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/de/todesbaum/jsite/gui/PreferencesPage.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/de/todesbaum/jsite/gui/PreferencesPage.java b/src/de/todesbaum/jsite/gui/PreferencesPage.java index 03e4e67..e3fea06 100644 --- a/src/de/todesbaum/jsite/gui/PreferencesPage.java +++ b/src/de/todesbaum/jsite/gui/PreferencesPage.java @@ -20,10 +20,14 @@ package de.todesbaum.jsite.gui; import java.awt.BorderLayout; +import java.awt.GridBagConstraints; +import java.awt.GridBagLayout; +import java.awt.Insets; import java.awt.event.ActionEvent; import javax.swing.AbstractAction; import javax.swing.Action; +import javax.swing.JLabel; import javax.swing.JPanel; import de.todesbaum.jsite.i18n.I18n; @@ -136,6 +140,13 @@ public class PreferencesPage extends TWizardPage { */ private JPanel createPreferencesPanel() { JPanel preferencesPanel = new JPanel(new BorderLayout(12, 12)); + + JPanel fileOptionsPanel = new JPanel(new GridBagLayout()); + preferencesPanel.add(fileOptionsPanel, BorderLayout.CENTER); + + final JLabel fileOptionsLabel = new JLabel("" + I18n.getMessage("jsite.preferences.file-options") + ""); + fileOptionsPanel.add(fileOptionsLabel, new GridBagConstraints(0, 0, 1, 1, 1.0, 0.0, GridBagConstraints.LINE_START, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0)); + return preferencesPanel; } -- 2.7.4