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.