public class L10N
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.util.ResourceBundle |
l10nBundle
Resource bundle containing all translations
|
Constructor and Description |
---|
L10N() |
Modifier and Type | Method and Description |
---|---|
static void |
setLocalizedText(javax.swing.Action action,
java.lang.String text)
Set a name and mnemonics to an Action.
|
static void |
setLocalizedText(javax.swing.JTabbedPane tabbedPane,
int tabIndex,
java.lang.String text)
Set a name and mnemonics to a pane in JTabbedPane.
|
public static final java.util.ResourceBundle l10nBundle
public static void setLocalizedText(javax.swing.Action action, java.lang.String text)
action
- Action to modifytext
- localized string containg & before character
which should be used as a mnemonicsMnemonics.setLocalizedText(javax.swing.AbstractButton, java.lang.String)
public static void setLocalizedText(javax.swing.JTabbedPane tabbedPane, int tabIndex, java.lang.String text)
tabbedPane
- tabbed pane containing the panetabIndex
- index of the pane tabtext
- localized string containg & before character
which should be used as a mnemonicsMnemonics.setLocalizedText(javax.swing.AbstractButton, java.lang.String)