• Post Reply Bookmark Topic Watch Topic
  • New Topic

dynamic rowheight for JTable  RSS feed

 
Venkata Cherukuri
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I have my JTable display varying Row Height. This one should work the same way as Excel- where in You can drag a row and it's height increases.
 
Tim Troy
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I use this code when a value changes to calc row height. You will need to determine when to call this. It works for the most part. I haven't devoted the time to make it perfect. Might save you some time.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!