Package esmska.utils
Class L10N
- java.lang.Object
-
- esmska.utils.L10N
-
public class L10N extends java.lang.ObjectClass containing useful methods when doing internacionalization and localization
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.ResourceBundlel10nBundleResource bundle containing all translations
-
Constructor Summary
Constructors Constructor Description L10N()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidsetLocalizedText(javax.swing.Action action, java.lang.String text)Set a name and mnemonics to an Action.static voidsetLocalizedText(javax.swing.JTabbedPane tabbedPane, int tabIndex, java.lang.String text)Set a name and mnemonics to a pane in JTabbedPane.
-
-
-
Method Detail
-
setLocalizedText
public static void setLocalizedText(javax.swing.Action action, java.lang.String text)Set a name and mnemonics to an Action.- Parameters:
action- Action to modifytext- localized string containg & before character which should be used as a mnemonics- See Also:
Mnemonics.setLocalizedText(javax.swing.AbstractButton, java.lang.String)
-
setLocalizedText
public static void setLocalizedText(javax.swing.JTabbedPane tabbedPane, int tabIndex, java.lang.String text)Set a name and mnemonics to a pane in JTabbedPane.- Parameters:
tabbedPane- tabbed pane containing the panetabIndex- index of the pane tabtext- localized string containg & before character which should be used as a mnemonics- See Also:
Mnemonics.setLocalizedText(javax.swing.AbstractButton, java.lang.String)
-
-