public class I18nHelper
extends java.lang.Object
| Constructor and Description |
|---|
I18nHelper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
setProperties(javax.swing.AbstractButton button,
java.lang.String tag,
java.util.Locale locale)
Set the relevant properties of a button.
|
static void |
setProperties(javax.swing.JLabel button,
java.lang.String tag,
java.util.Locale locale)
Set the relevant properties of a label.
|
static void |
setProperties(javax.swing.JMenuItem menuItem,
java.lang.String tag,
java.util.Locale locale)
Set the relevant properties of a menu item.
|
public static void setProperties(@NotNull javax.swing.JMenuItem menuItem, @NotNull java.lang.String tag, @Nullable java.util.Locale locale)
menuItem - menu item which properties are settag - base i18n taglocale - locale to usepublic static void setProperties(@NotNull javax.swing.AbstractButton button, @NotNull java.lang.String tag, @Nullable java.util.Locale locale)
button - button which properties are settag - base i18n taglocale - locale to use