Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

auto adjust column widths  RSS feed

 
Fabio Piergentili
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone point me to some code that will set jtable column widths based on column titles and data in cells. There was some code in the Java tutorials but it didn't behave as I thought it would. It only took the column titles into account. They do something with cells but no data is used. I included the code below:



Thanks
 
Rob Camick
Ranch Hand
Posts: 2754
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Table Column Adjuster
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!