aspose file tools*
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
Author

Arabic letters in Text object

Jayanthimeena
Greenhorn

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
goffy
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Jayanthimeena,
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.
Thanks,
Cindy

"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 http://java.sun.com/j2se/1.3.0/docs/guide/intl/index.html for all your i18n needs! (there is a tutorial you should follow there too)
Jayanthimeena
Greenhorn

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.
Thanks
goffy
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Arabic letters in Text object