R
René Smolin
hello ng!
i have a problem with the language in the jcolorchooser. in my application
the german words will be displayed.
i have set the locale to english
--
java.util.Locale.setDefault(new java.util.Locale("en", "EN"))
--
i also tried to change the "UIDefaults", but i don´t know the right keys.
the following code lists all keys:
--
UIDefaults uiDefaults = UIManager.getDefaults();
Enumeration enum = uiDefaults.keys();
while (enum.hasMoreElements())
{
Object key = enum.nextElement();
Object val = uiDefaults.get(key);
System.out.println("[" + key.toString() + "]:[" +
(null != val ? val.toString() : "(null)") +
"]");
}
--
thank you very much in advance,
rene
ps. sorry for my little english
i have a problem with the language in the jcolorchooser. in my application
the german words will be displayed.
i have set the locale to english
--
java.util.Locale.setDefault(new java.util.Locale("en", "EN"))
--
i also tried to change the "UIDefaults", but i don´t know the right keys.
the following code lists all keys:
--
UIDefaults uiDefaults = UIManager.getDefaults();
Enumeration enum = uiDefaults.keys();
while (enum.hasMoreElements())
{
Object key = enum.nextElement();
Object val = uiDefaults.get(key);
System.out.println("[" + key.toString() + "]:[" +
(null != val ? val.toString() : "(null)") +
"]");
}
--
thank you very much in advance,
rene
ps. sorry for my little english