• 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

Please recommend good BIDI implementations ?  RSS feed

Ranch Hand
Posts: 311
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.

Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • 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.

Good luck.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!