Is there a JTreeTable implementation that allows variable row height

1.7k views Asked by At

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...

1

There are 1 answers

1
Christopher Deckers On BEST ANSWER

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.