• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Please recommend good BIDI implementations ?

 
Ranch Hand
Posts: 311
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

We're customizing a Swing application which needs to support BIDI (ie "right-to-left" languages, possibly mixed with numbers and english expressions).

We've examined the BIDI behavior of standard Swing components (chiefly JTextArea ), but unfortunately it seems insufficient...

If I'm not mistaken, JTextArea behaves like Microsoft Notepad (with RTL support): it's good enough for basic cases, but it won't handle some complex, subtle cases.
In particular, when JTextArea receives keyboard input, it doesn't seem to record special characters (such as RTL-MARK).

We're looking for a more professional BIDI behavior - one that is closer to Microsoft Word (in that it can record and present special chars, such as RTL=MARK).

Would anyone please know how to make it work on our Swing applications ?
Is there a way to configure the standard JTextArea/JEditPane ? Or are there any 3rd party components (either open-source or commercial) ?
Any recommendations would be appreciated.

Thanks.
 
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I worked on a project for Uni. of Chicago a while ago only not to finish it before moving to Utah. I am able to find a reference here from IBM. Hope it helps.
BIDI

Good luck.
 
Popeye has his spinach. I have this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic