Remove unused constructors
authorDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Wed, 10 Feb 2016 19:00:15 +0000 (20:00 +0100)
committerDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Wed, 10 Feb 2016 19:00:15 +0000 (20:00 +0100)
src/main/java/de/todesbaum/jsite/gui/ProjectFilesPage.java
src/main/java/de/todesbaum/util/swing/TLabel.java

index c7a0a97..4229e48 100644 (file)
@@ -336,7 +336,7 @@ public class ProjectFilesPage extends TWizardPage implements ActionListener, Lis
                scanningFilesDialog.getContentPane().add(progressPanel, BorderLayout.CENTER);
                progressPanel.setBorder(BorderFactory.createEmptyBorder(12, 12, 12, 12));
 
-               final TLabel scanningLabel = new TLabel(I18n.getMessage("jsite.project-files.scanning"), SwingConstants.CENTER);
+               final JLabel scanningLabel = new JLabel(I18n.getMessage("jsite.project-files.scanning"), SwingConstants.CENTER);
                progressPanel.add(scanningLabel, BorderLayout.NORTH);
                progressBar = new JProgressBar(SwingConstants.HORIZONTAL);
                progressPanel.add(progressBar, BorderLayout.SOUTH);
index 0393f5c..822ca17 100644 (file)
@@ -29,40 +29,6 @@ import javax.swing.JLabel;
  */
 public class TLabel extends JLabel {
 
-       public TLabel() {
-               super();
-       }
-
-       public TLabel(int mnemonic, Component labelFor) {
-               super();
-               setDisplayedMnemonic(mnemonic);
-               setLabelFor(labelFor);
-       }
-
-       public TLabel(Icon image) {
-               super(image);
-       }
-
-       public TLabel(Icon image, int mnemonic, Component labelFor) {
-               super(image);
-               setDisplayedMnemonic(mnemonic);
-               setLabelFor(labelFor);
-       }
-
-       public TLabel(Icon image, int horizontalAlignment) {
-               super(image);
-       }
-
-       public TLabel(Icon image, int horizontalAlignment, int mnemonic, Component labelFor) {
-               super(image);
-               setDisplayedMnemonic(mnemonic);
-               setLabelFor(labelFor);
-       }
-
-       public TLabel(String text) {
-               super(text);
-       }
-
        public TLabel(String text, int mnemonic, Component labelFor) {
                super(text);
                setDisplayedMnemonic(mnemonic);
@@ -70,24 +36,4 @@ public class TLabel extends JLabel {
                setAlignmentX(0.0f);
        }
 
-       public TLabel(String text, Icon icon, int horizontalAlignment) {
-               super(text, icon, horizontalAlignment);
-       }
-
-       public TLabel(String text, Icon icon, int horizontalAlignment, int mnemonic, Component labelFor) {
-               super(text, icon, horizontalAlignment);
-               setDisplayedMnemonic(mnemonic);
-               setLabelFor(labelFor);
-       }
-
-       public TLabel(String text, int horizontalAlignment) {
-               super(text, horizontalAlignment);
-       }
-
-       public TLabel(String text, int horizontalAlignment, int mnemonic, Component labelFor) {
-               super(text, horizontalAlignment);
-               setDisplayedMnemonic(mnemonic);
-               setLabelFor(labelFor);
-       }
-
 }