0

I am generating JTable by hardcoding.

I need to make my content in JTable to be wordwrapped to avoid overflowing text being hidden.

Image attached (for instance, the text in [2][3]):

enter image description here

Your reply is much appreciated!

Jeosiyy Chu
  • 67
  • 2
  • 15
  • 1
    Take a look at this link: [solution](http://stackoverflow.com/questions/4212675/wrap-the-string-after-a-number-of-characters-word-wise-in-java) – Ivan Velchev Sep 16 '16 at 14:24
  • 1
    You need a table cell render. In that you change the text to html with paragraph tags for line endings. You also need to adjust the height of the table row – Just another Java programmer Sep 16 '16 at 14:31

0 Answers0