Search code examples
javaswingtabulartablecellrenderer

Multi-line table cell


I have an JTable component where I display some data. One of my column is a string, which is too long for my cell. How can I make cells in that column multi-line?


Solution

  • put into TableCell f.e. JTextArea or another JComponents that allows multiline output