From: David ‘Bombe’ Roden Date: Mon, 7 Apr 2008 08:30:29 +0000 (+0000) Subject: add constructor without component X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=2e0662538a33fbbb245bc3fe02421f22b79d0d36;p=jSite2.git add constructor without component git-svn-id: http://trooper/svn/projects/jSite/trunk@634 c3eda9e8-030b-0410-8277-bc7414b0a119 --- diff --git a/src/net/pterodactylus/jsite/i18n/gui/I18nLabel.java b/src/net/pterodactylus/jsite/i18n/gui/I18nLabel.java index 06f6b6e..c8bd089 100644 --- a/src/net/pterodactylus/jsite/i18n/gui/I18nLabel.java +++ b/src/net/pterodactylus/jsite/i18n/gui/I18nLabel.java @@ -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. *