Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JTable column width

 
Rajeshwari Ramamurthi
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I have a JTabel with 8 columns. I want to set the column width dynamically for each column to fit the biggest string(in lengthwise) of that column. Is it possible to calculate the width of each column, if I calculate the length of biggest string for each column.
Or is it possible to display all cell contents fully.

Thanks
Raji
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic