From def199f05c6b4191aa06e2175aaf7b3be0be87e1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Fri, 27 Jun 2008 22:49:58 +0200 Subject: [PATCH] hide replacement section --- src/de/todesbaum/jsite/gui/ProjectFilesPage.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/de/todesbaum/jsite/gui/ProjectFilesPage.java b/src/de/todesbaum/jsite/gui/ProjectFilesPage.java index b5f4a26..00a9cee 100644 --- a/src/de/todesbaum/jsite/gui/ProjectFilesPage.java +++ b/src/de/todesbaum/jsite/gui/ProjectFilesPage.java @@ -304,6 +304,7 @@ public class ProjectFilesPage extends TWizardPage implements ActionListener, Lis replacementCheckBox.setToolTipText(I18n.getMessage("jsite.project-files.replacement.tooltip")); replacementCheckBox.addActionListener(this); replacementCheckBox.setEnabled(false); + replacementCheckBox.setVisible(false); fileOptionsReplacementPanel.add(replacementCheckBox); replaceEditionRangeSpinner = new JSpinner(new SpinnerNumberModel(0, 0, 99, 1)); @@ -311,7 +312,9 @@ public class ProjectFilesPage extends TWizardPage implements ActionListener, Lis replaceEditionRangeSpinner.setToolTipText(I18n.getMessage("jsite.project-files.replacement.edition-range.tooltip")); replaceEditionRangeSpinner.addChangeListener(this); replaceEditionRangeSpinner.setEnabled(false); + replaceEditionRangeSpinner.setVisible(false); final JLabel editionRangeLabel = new JLabel(I18n.getMessage("jsite.project-files.replacement.edition-range")); + editionRangeLabel.setVisible(false); fileOptionsReplacementPanel.add(editionRangeLabel); fileOptionsReplacementPanel.add(replaceEditionRangeSpinner); -- 2.7.4