From: David ‘Bombe’ Roden Date: Fri, 27 Jun 2008 20:49:58 +0000 (+0200) Subject: hide replacement section X-Git-Tag: 0.5~1 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=def199f05c6b4191aa06e2175aaf7b3be0be87e1;p=jSite.git hide replacement section --- 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);