File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes Arabic numbers input problem(Very Urgent) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Arabic numbers input problem(Very Urgent)" Watch "Arabic numbers input problem(Very Urgent)" New topic

Arabic numbers input problem(Very Urgent)

Ash Kondhalkar
Ranch Hand

Joined: Jun 14, 2006
Posts: 43

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?

I agree. Here's the link:
subject: Arabic numbers input problem(Very Urgent)