default language
I'm developing an application that accepts Arabic string as input in text field. The Arabic language is written from right to left so Im trying to use FontRenderContext class to Font.layoutGlyphVector to make the writing direction from right to left. I have two problems:
First: the compiler Im using which is the latest version jdk1.5.0_06 can't recognize FontRenderContext calss. It displays cannot find symbol error.
Second: Im not sure how can I make the default text direction is right to left and the default language is Arabic.

