add constructor without component
[jSite2.git] / src / net / pterodactylus / jsite / i18n / gui / I18nLabel.java
index 06f6b6e..c8bd089 100644 (file)
@@ -38,6 +38,16 @@ public class I18nLabel extends JLabel implements I18nable {
        private final String i18nBasename;
 
        /**
+        * Creates a new label with the given I18n basename.
+        * 
+        * @param i18nBasename
+        *            The I18n basename of the label
+        */
+       public I18nLabel(String i18nBasename) {
+               this(i18nBasename, null);
+       }
+
+       /**
         * Creates a new label with the given I18n basename that optionally is a
         * label for the given component.
         *