Accepting the arabic character from keyboard in swing application !!
Joined: Dec 07, 2001
Hello, I was trying to make a swing application which should do following:- 1. I want to provide a JTextField where a user can input the arabic character through his keyboard. 2. I should accept these arabic string in a variable and should convert these character into the unicode values. 3. after converting into the unicode values I want to store into the DB. Now problem is point 1 first. I am not able to get it done. Perhaps the point 2 will also give trouble but as suggested by Jim Yingst in my other thread it should not be much problem. Now I have following envoirment:- 1. Windows 2000. 2. Java 1.2 3. Arabic font Arabic transparent with me in my winnt/font directory, which helps me in wrting the arabic letters in the Microsoft Word. 4. Also set the Language settings for the system to arabic too in Regional settings of Control Panel.
but all above is of no use. Perhaps I have to play with font.properties of jre\lib directory, but how dont know. I seems lost in this topic as this is becoming too confusing and complicating. I know somewhere I am missing something basics. I would be highly obliged if you could help me to achieve this objective. regards, Arun Mahajan
Thanks Thomas for your reply... but it seems the solution you're offering me is a bit costly to me . Could you please provide me some other option - perhaps some reference site etc. ? Anyway thank you very much for your help...
Joined: Dec 10, 2001
You might find The JavaDoc Internationalization Guide and the website JavaInternationalization.com helpful. Otherwise, try a thorough search on google - somebody might have put together an article discussing exactly what you're trying to do. Let us know if you come across anything good. Good Luck. [ August 25, 2002: Message edited by: Dirk Schreckmann ]