I have a Java application with some JTextFields
in it and I want the default language to be Hebrew.
I tried setting JVM argument(-Duser.language=he
), I tried setting locale to hebrew:
TextFields[ i ].setLocale( new Locale("he"));
Locale changed all right - but input language doesnt change.
The only thing that worked was to change default input language through SystemParametersInfo
which change system language. Is there any other way?