From e0baf5f0cc0eca830dd0fe127a6f92f0778e2e31 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Tue, 22 Dec 2009 20:54:06 +0100 Subject: [PATCH] =?utf8?q?Change=20=E2=80=9Cdefault=E2=80=9D=20radio=20but?= =?utf8?q?ton=20to=20field.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/de/todesbaum/jsite/gui/PreferencesPage.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/de/todesbaum/jsite/gui/PreferencesPage.java b/src/de/todesbaum/jsite/gui/PreferencesPage.java index 513c23f..ba34c89 100644 --- a/src/de/todesbaum/jsite/gui/PreferencesPage.java +++ b/src/de/todesbaum/jsite/gui/PreferencesPage.java @@ -62,6 +62,9 @@ public class PreferencesPage extends TWizardPage { /** The temp directory. */ private String tempDirectory; + /** The “default” button. */ + private JRadioButton defaultTempDirectory; + /** * Creates a new “preferences” page. * @@ -185,7 +188,7 @@ public class PreferencesPage extends TWizardPage { final JLabel tempDirectoryLabel = new JLabel("" + I18n.getMessage("jsite.preferences.temp-directory") + ""); tempDirectoryPanel.add(tempDirectoryLabel, new GridBagConstraints(0, 0, 3, 1, 1.0, 0.0, GridBagConstraints.LINE_START, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0)); - final JRadioButton defaultTempDirectory = new JRadioButton(selectDefaultTempDirectoryAction); + defaultTempDirectory = new JRadioButton(selectDefaultTempDirectoryAction); tempDirectoryPanel.add(defaultTempDirectory, new GridBagConstraints(0, 1, 3, 1, 1.0, 0.0, GridBagConstraints.LINE_START, GridBagConstraints.BOTH, new Insets(6, 18, 0, 0), 0, 0)); final JRadioButton customTempDirectory = new JRadioButton(selectCustomTempDirectoryAction); -- 2.7.4