jQuery in Action, 3rd edition
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 REST with Spring (video course) this week in the Spring 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
It's not a secret anymore!