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.

[562 byte] By [Im_polaris] at [2007-11-25 21:46:58]
# 1

Try reposting in one of the Java technology forums:

http://forum.java.sun.com/index.jspa

The internationalization forum would probably be most appropriate:

http://forum.java.sun.com/forum.jspa?forumID=16

This Java Desktop forum is devoted to Sun's GNOME based alternative desktop "Java Desktop System."

bnitz at 2007-7-5 0:52:48 > top of Java-index,Desktop,Sun Java Desktop System...