File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Arabic letters in Text object Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Arabic letters in Text object" Watch "Arabic letters in Text object" New topic

Arabic letters in Text object


Joined: Jul 24, 2001
Posts: 17
Arabic letters in Text object
I want to create a web pages which has to show the mother language the user clicks. For eg. French, German, Arabic. If a particular language is selected then all web pages should be in that language.
I want to know is it possible to make a text field object is made to enter Arabic character and is it possible to make it accept it from right to left in typing.
Can any one help me. I am not sure how browser will support it.
Thanks and Regards
Cindy Glass
"The Hood"

Joined: Sep 29, 2000
Posts: 8521
Please change your name to be compliant with JavaRanch's naming policy.
Your ID should be 2 separate names with more than 1 letter each. We really want this to be a professional forum and would prefer that you use your REAL name.

"JavaRanch, where the deer and the Certified play" - David O'Meara
greg philpott
Ranch Hand

Joined: Nov 10, 2000
Posts: 73
TextField is an awt class, and awt does not have support for arabic text, in fact it does not have much support for i18n(Internationalization) at all.
If you use Swing you will get what you want.
check out for all your i18n needs! (there is a tutorial you should follow there too)

Joined: Jul 24, 2001
Posts: 17
Hai all
I am really happy and thankful for ur help,greg philpott.
Expecting more answers from u all.
I agree. Here's the link:
subject: Arabic letters in Text object
It's not a secret anymore!