This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes set components to support Hebrew Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "set components to support Hebrew" Watch "set components to support Hebrew" New topic

set components to support Hebrew

Shay Gaghe
Ranch Hand

Joined: Sep 03, 2001
Posts: 102
Hi folks!
I’m from Israel . I have to publish a chat program in Hebrew ( which is Right to Left language). I need all the input component to be set to Hebrew and the starting cursor in right position by default.
How can I perform it? And what other problems I should to worry about ?
Code please!
Shay Gaghe
Roy Ben Ami
Ranch Hand

Joined: Jan 13, 2002
Posts: 732
ma hamzav shay?

well the problem u r facing involves the interanlization.
look at this link
and also check the ComponentOrientation class in awt package. both involve the hewbrew support.
ill try to write some code and post here tomorrow.
It is sorta covered in the JavaRanch Style Guide.
subject: set components to support Hebrew
Similar Threads
NON-English chars become "???" when inserting data
plz Help me in Compilation
Can we work on Asian Language which start from Right to Left(Like Arabic)
java application - problem export hebrew to file
JTable character Encoding