How do I get word-wrap in a TextArea?
Ans : It’s a little obscure. Creating a TextArea with no horizontal scrollbar causes wrapping to occur automatically. The idea is that if you ask for a scroll to scroll viewing over to the right, there is no reason for the widget to do word wrap. So take away the scrollbar, and word wrap will be done instead. Supply TextArea.SCROLLBARS_NONE or TextArea.SCROLLBARS_VERTICAL_ONLY to the TextArea constructor to get word wrap. By default, a TextArea is created with both horizontal and vertical scrollbars.