Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Arabic letters in Text object

 
Jayanthimeena
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
greg philpott
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai all
I am really happy and thankful for ur help,greg philpott.
Expecting more answers from u all.
Thanks
goffy
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic