From: David ‘Bombe’ Roden Date: Mon, 21 Dec 2009 21:11:59 +0000 (+0100) Subject: Add “file options” label. X-Git-Tag: 0.8~32 X-Git-Url: https://git.pterodactylus.net/?p=jSite.git;a=commitdiff_plain;h=4bfbc284b49cbdec9f96b456b6920593bf45401a Add “file options” label. --- 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; }