Word Wrap

Hi GuysI neec to use word wrap in JTable cells but can't figure-out how to do it; can any of you help me?Many thanksPatrick
[152 byte] By [zzpprka] at [2007-9-30 0:23:20]
# 1
Can't you set up the renderer to be a JTextArea ? In this case, you will be able to use word-wrapping functionnalities.
Franck_Lefevrea at 2007-7-16 4:52:45 > top of Java-index,Archived Forums,Swing...
# 2
Can't you set up the renderer to be a JTextArea ? In this case, you will be able to use word-wrapping functionnalities.
Franck_Lefevrea at 2007-7-16 4:52:45 > top of Java-index,Archived Forums,Swing...
# 3

Many thanks for your replies.

The JTextArea works fine but the table rows do not resize when the columns are resized so we end-up with the text being displayed on a single line and a lot of white-space below. How can I get the table rows to resize to the height og the tallest cell?

Many thanks for your help.

zzpprka at 2007-7-16 4:52:46 > top of Java-index,Archived Forums,Swing...