
Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
>>I forgot how to specify the locale when launching a java swing app from
>>command line. Can anyone point me to some URL where I can find java
[quoted text clipped - 4 lines]
> They are controlled by a number of system properties. See
> http://mindprod.com/jgloss/properties.html
Thanks for the link but unfortunately I couldn't find the answer I am
looking so I'll rephrase my question. What is the command line option(s) to
use if I want to start a swing app in another language than the default one?
I roughly remember it was something like --locale=xx_XX --language=XX etc...
Real Gagnon - 28 Oct 2005 12:21 GMT
> option(s) to use if I want to start a swing app in another language
> than the default one? I roughly remember it was something like
> --locale=xx_XX --language=XX etc...
java -Duser.language=en -Duser.region=US MyApplication
Bye.

Signature
Real Gagnon from Quebec, Canada
* Looking for Java or PB code examples ? Visit Real's How-to
* http://www.rgagnon.com/howto.html
jvax - 28 Oct 2005 12:48 GMT
>> option(s) to use if I want to start a swing app in another language
>> than the default one? I roughly remember it was something like
[quoted text clipped - 3 lines]
>
> Bye.
Yesss!! Thank you.
--j
Roedy Green - 31 Oct 2005 10:53 GMT
>Thanks for the link but unfortunately I couldn't find the answer I am
>looking so I'll rephrase my question. What is the command line option(s) to
>use if I want to start a swing app in another language than the default one?
>I roughly remember it was something like --locale=xx_XX --language=XX etc...
All I can do is ask you to follow the links I already gave you.
both the names of the properties, source code to get/set them and
instructions how to put them on the java.exe command line are all
there.
See http://mindprod.com/jgloss/properties.html

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.