I don't know why you resurrected this old thread. But, the solution that the OP needed was to upgrade from Java 1.4 to Java 1.5. Apparently, Java 1.5 fixed something that changed how certain fonts are displayed.
To set the Text from Right to Left ,we can use
setComponentOrientation() method. I don't have clear idea about
hope this helps,
i have got the urdu font and can use them in JTextArea. i have also maped the font with the keyboard but the problem i am fasing here is that.
when i set the componentOrientation of the JTextArea it brings the cursor to the right side but when i type some thing the text is written in the JTextArea but the cursor does not move from right to left it stays on the right side and the text moves from right to left. and always new text is written on the right side, but it has to be displayed on the left side of the initial text.
can any body help me how i can do this ?