Search code examples
java-melwuit

How to make a TextArea change its height according to its content?


I have a TextArea and I want its height to grow dynamically according to its content : so there is no scrollbar needed. How to achieve that ?


Solution

  • Use setGrowByContent(true); on the TextArea.