set Locale

HI,

I try for a long time to change language of my JComponent in my Application...

I wrote:

JComponent.setDefaultLocale(Locale.ENGLISH);

DON'T WORK!!!

but work whit all other languages....for example:

JComponent.setDefaultLocale(Locale.FRANCE);

work....

why?

[315 byte] By [drumskra] at [2007-11-26 22:33:09]
# 1

> HI,

> I try for a long time to change language of my

> JComponent in my Application...

> I wrote:

> [code]JComponent.setDefaultLocale(Locale.ENGLISH);[/co

> de]

>

> DON'T WORK!!!

>

> but work whit all other languages....for example:

> [code]JComponent.setDefaultLocale(Locale.FRANCE);[/cod

> e]

> work....

>

> why?

How do you know it s not working?

watfora at 2007-7-10 11:39:55 > top of Java-index,Desktop,Core GUI APIs...
# 2
http://java.sun.com/j2se/1.5.0/docs/api/java/util/Locale.html#ENGLISH
suparenoa at 2007-7-10 11:39:55 > top of Java-index,Desktop,Core GUI APIs...
# 3

the problem is:

When I wrote :

JComponent.setDefaultLocale(Locale.FRENCH);

JComponent.setDefaultLocale(Locale.GERMANY);

...etc

the language change.

When I wrote :

JComponent.setDefaultLocale(Locale.ENGLISH);

the language do not change...

this is the problem

drumskra at 2007-7-10 11:39:55 > top of Java-index,Desktop,Core GUI APIs...