Share this page 

Make a TextArea "word-wrap"Tag(s): AWT


Simply create the TextArea with no horizontal scrollbar.
myTextArea = new TextArea
  ("text", 3 , 100 , TextArea.SCROLLBARS_VERTICAL_ONLY);