java-melwuitlwuit-textarea

How to create an editable component which looks like a TextArea?


We know that TextArea are not editable , so how to create an editable component which looks like a TextArea ( having the multi-line behaviour ) ?


Solution

  • Use TextField and set its setSingleLineTextArea(false). This requires LWUIT 1.5 or newer.