From 2e0662538a33fbbb245bc3fe02421f22b79d0d36 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Mon, 7 Apr 2008 08:30:29 +0000 Subject: [PATCH] add constructor without component git-svn-id: http://trooper/svn/projects/jSite/trunk@634 c3eda9e8-030b-0410-8277-bc7414b0a119 --- src/net/pterodactylus/jsite/i18n/gui/I18nLabel.java | 10 ++++++++++ 1 file changed, 10 insertions(+) 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. * -- 2.7.4