I am facing a problem while entering Arabic numbers in the swing application. I have enabled arabic language input on my machine. I am in position to type arabic numbers in a notepad. But when I try and do the same in Swing application inside a textfield, somehow the numbers are getting typed in English only. Surprisingly if I type arabic numbers in a notepad and copy paste them in a textfield, it automatically gets converted into English.
Does anybody having a clue as to why this is happening?