edu.umd.cs.findbugs
public class L10N extends Object
Method Summary | |
---|---|
static String | getLocalString(String key, String defaultString) |
static void | localiseButton(AbstractButton button, String key, String defaultString, boolean setMnemonic)
Localise the given AbstractButton, setting the text and optionally mnemonic
Note that AbstractButton includes menus and menu items. |
Parameters: button The button to localise key The key to look up in resource bundle defaultString default String to use if key not found setMnemonic whether or not to set the mnemonic. According to Sun's guidelines, default/cancel buttons should not have mnemonics but instead should use Return/Escape