How to enable inscript keyboard in a JTextPane?
I am working in fedora8
and using java1.6.0_05
I tried the following codes to set keyboard Locale.
InputContext it = InputContext.getInstance();
if (it.selectInputMethod(new Locale("ml", "IN", "")))
System.out.println("Locale successfully changed");
System.out.println("Locale change failure");
It always print "Locale change failure", for all the locales except the system default locale.
But when i tried this in windows , there seems to be no problem, It's working and I am able to type in my language(ml).
So how to do this in linux?
Any help will be gratefull.