If a string in a database field contains line feed characters, is there any way of displaying this as a multi-line string in a power table?
I’d try overriding the column’s renderer to yield a suitable JTextArea instead of a JLabel. Might need to play with row heights.
If you set the wrap text
attribute in the column attributes dataset we switch to rendering using a MultilineTableCellRenderer
which I would expect to display newlines correctly.
3 Likes
Thanks Paul, that does exactly what I wanted.