Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JTable wrap text

843805Sep 17 2005 — edited Sep 18 2005
How do I display multline text in a JTable column.

I increased the size of the rows. and for a specific column I am concatanating string values from a database and displaying them.

return str1+"\n"+str2+"\n"+str3;

But the data is displayed as one single row of information.

Please help

Regards
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 16 2005
Added on Sep 17 2005
13 comments
644 views