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…