Add dir="rtl" to the <textarea> tag, like this:
You can do the same thing in the page <html> tag, as well, and it will flip the whole layout (but not text) to a right-to-left orientation, with the page scrollbar on the left instead of the right. The technique is intended for languages (Arabic, for instance) that read from right to left, rather than left to right; but can occasionally be used to good effect for special purposes.
Note that this works in IE4&up and NS6&up; but is ignored in older browsers.
Posted in: Java