Setting Default Locale from JNLP
843802Feb 15 2005 — edited Feb 17 2005Hi,
I want to set the default locale for the application that is started from JWS. The way of setting default locale i am adaptaing is to set system property 'user.language' and 'user.region'.
This works fine when i execute application from command line i.e. using java. When i println the Locale.getDefault it prints whatever is passed via above mentioned system properties.
If i execute the same application using JAVA Web Start and pass these properties using <property> tag for resources values does get passed to the executing application but the same is not set as DefaultLocale for the system. Rather the DefaultLocale is still picked up from what is set in windows regional settings.
How can i set default locale using these properties ? Is this a bug with JAVA Web Start? Please help this is urgent
Thanks in advacne. Awaiting your response.
Robin