JTable column sizes

iam developing an application using a JTable and i want to make the cell take the width of the text it contains , should i use a table cell renderer and set its size to the length of the text , will this work ,and how about the resizing mode of the JTable should i make it off ?

Best Regards

[305 byte] By [hentchocana] at [2007-11-27 10:37:34]
# 1

In the past I've seen solutions posted in the forum. Maybe if you search the forum you will find the solutions.

camickra at 2007-7-28 18:49:01 > top of Java-index,Desktop,Core GUI APIs...