Auto adjust the height of rows in a JTable

Viewed 32520

In a JTable, how can I make some rows automatically increase height to show the complete multiline text inside? This is how it is displayed at the moment:

I do not want to set the height for all rows, but only for the ones which have multiline text.

3 Answers
Related