File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT / JFace and the fly likes Multilingual support by JTextField Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT / JFace
Reply Bookmark "Multilingual support by JTextField" Watch "Multilingual support by JTextField" New topic
Author

Multilingual support by JTextField

Ash Kondhalkar
Ranch Hand

Joined: Jun 14, 2006
Posts: 43
Hi,

In our application which supports English and Arabic both, I want to enter arabic numbers in a textfield.
I have set up my machine so that I can switch my keyboard output between english or arabic! So when I select Arabic as keyboard output and enter arabic alphabets it does type them in a textfield. But when I try to type arabic numbers in a textfield they are getting typed in English only.

Surprisingly the thing is if I try to type arabic numbers in the notepad, it does allow me typing that.

Do I need to setup something in a textfield so that it will allow typing arabic numbers??

Thanks & Regards
Ashwin
Esmaeil Ashrafi
Ranch Hand

Joined: Feb 22, 2010
Posts: 73
i have exactly the same issue and by googling i entered the ranch !
Does not anyone has any idea please

Thanks

ٍEdited :
I found the way by searching
if this is not illegal i will link....


I'm really tired of being engaged with stuff other than Java and programming

Wish to get back soon to my love...
 
 
subject: Multilingual support by JTextField
 
Threads others viewed
Arabic numbers input problem(Very Urgent)
Who can type with all ten fingers?
numeric textfield
Bilingual support in Java
How to show arabic and arabic in a JTextBox when user enter the numbers?
developer file tools