From 971e1f53d3bf30b47a89d4c6c0a641a6cf0e2e64 Mon Sep 17 00:00:00 2001 From: ralph isenmann Date: Wed, 17 Feb 2021 11:04:16 +0100 Subject: [client] Refactoring: Remove unused code --- .../dozmod/gui/wizard/layout/ContainerUploadPageLayout.java | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/layout/ContainerUploadPageLayout.java b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/layout/ContainerUploadPageLayout.java index 600dbb7a..d4d253ab 100644 --- a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/layout/ContainerUploadPageLayout.java +++ b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/layout/ContainerUploadPageLayout.java @@ -16,7 +16,6 @@ public class ContainerUploadPageLayout extends WizardPage { protected final JTextField txtImageName; protected final JButton btnBrowseForImage; protected final JTextField txtImageFile; - protected final JCheckBox chkLicenseRestricted; protected final QLabel lblImageName; protected final JTextArea txtInfoText; @@ -85,15 +84,7 @@ public class ContainerUploadPageLayout extends WizardPage { grid.add(lblContainerImageFile); grid.add(txtContainerImageFile, 2).fill(true, false).expand(true, false); grid.nextRow(); - - // -- Software license changed - shown only in UploadWizard -- - chkLicenseRestricted = new JCheckBox( - I18n.PAGE_LAYOUT.getString("ContainerUploadPage.CheckBox.ContainsLicenseRestricted.text")); - chkLicenseRestricted.setVisible(false); - grid.skip(); - grid.add(chkLicenseRestricted, 2, 1).fill(false, false).expand(true, false); - grid.nextRow(); - + grid.add(Box.createVerticalGlue(), 3).expand(true, true); txtInfoText = new JTextArea(); txtInfoText.setBorder(BorderFactory.createTitledBorder( -- cgit v1.2.3-55-g7522