how to change orientation of a jtextarea

hi all,i want to change the orientation of my jtestarea(want to be from the right to the left).thanks
[122 byte] By [mahrez85a] at [2007-11-27 6:23:17]
# 1
setComponentOrientation(ComponentOrientation )?
bsampieria at 2007-7-12 17:41:03 > top of Java-index,Desktop,Core GUI APIs...
# 2
hi bsampieri,thanks for reponse but i tried it and it was not the solution.
mahrez85a at 2007-7-12 17:41:03 > top of Java-index,Desktop,Core GUI APIs...
# 3

I would suspect that a text field or document would be smart enough to know the charset being used and run LtR or RtL as appropriate. English written RtL wouldn't read correctly no matter what, it's not a normal state for it to be. Arabic would be different.Does it not put the text correctly?

bsampieria at 2007-7-12 17:41:03 > top of Java-index,Desktop,Core GUI APIs...
# 4
hi bsampieri,you are right, i retry and it was successful.thank you and have a nice day
mahrez85a at 2007-7-12 17:41:03 > top of Java-index,Desktop,Core GUI APIs...