Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Farsi Support in Java

  Asked By: Wayne    Date: Jun 29    Category: Java    Views: 1040

does anybody know how to support farsi language and right to left in java and havin' no problem? it may be of great help if any off-the-shelf component is available.



2 Answers Found

Answer #1    Answered By: Jennie Harris     Answered On: Jun 29

Swing has got build in right-to-left support  but I have never heard of a persian-kalle-mallagh enabled sofware written in java. you may give it a try.

Answer #2    Answered By: Melissa King     Answered On: Jun 29

Quite right…

As some complementary explanations:

Right-To-Left support  first introduced with JDK1.2 when Swing got embedded into JDK for the first time. The support was not so complete then but as we’re going on (and especially with 1.4+), the support for right-to-left languages is getting better and better.

By setting the “orientation” of the built-in Swing components (including but not limited to JTable, JTree, JTabbedPane, JButton, JTextField, JTextArea and so on), you’ll have it all rendered and capturing the input from right perfectly. Definitely there are bugs, but all can be taken care by a few efforts and always there are workarounds.

Really no need to reinvent the wheel once again in java  with Persian enabled components! Thanks God! It has been resolved once and forever…

Didn't find what you were looking for? Find more on Farsi Support in Java Or get search suggestion and latest updates.