I am writing an application to remap some of the keyboard keys. I want to add a button so that if the user clicks on it, the input source will change to the next input in the OS. I am using it to input source arabic and english. What should I use, and is it possible to do that in java?
views:
282answers:
2
+1
A:
I believe InputContext.selectInputMethod()
is what you're looking for. This article also describes how to set the input method via system menus or hotkey.
Michael Borgwardt
2009-05-13 13:56:31