Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a JTreeTable implementation that allows variable row height

I have been searching for a little while on this one. I need a JTreeTable that supports variable row height. Specifically, I want the rows that show the top level nodes to be taller than the child rows beneath them.

I have been using the SwingX implementation (JXTreeTable) which is based on the original Sun articles. However, it specifically disallows variable row height, and without rewriting JXTree I can't see a way through.

Any tips / pointers would be gratefully received before I embark on something nasty...

like image 645
serg10 Avatar asked Nov 05 '22 02:11

serg10


1 Answers

NetBeans has the Outline component which is a tree table, and it can be used outside NetBeans (just find the right JAR files). Here is an article about it: http://netbeans.dzone.com/news/taking-new-swing-tree-table-a-

I may be wrong but I believe it supports variable row heights.

like image 83
Christopher Deckers Avatar answered Nov 14 '22 21:11

Christopher Deckers