Well, it only took a month and a half longer than I thought, but I’ve finally had the time to post the source code and an example of how to use my iTunes-like tree table control. If you are already using the JXTreeTable from the swingx project, then this should be a drop in replacement.
Here is a screenshot of the sample application:
It demonstrates how to use JXTreeTable to create a treetable displaying the component hiearchy of a running Swing application. It should be a good starting point for anyone wanting to use JXTreeTable, as well as how to use my look and feel with it. Here are the download links:
- Compiled version of my TreeTable (and the rest of my iTunes-like components/delegates)
- Source code version of my TreeTable (and the rest of my iTunes-like components/delegates)
- Source code for the sample application
Note: As usual the source code for this is released under the Apache license.

March 27th, 2006 at 1:53 am
Great !! Thanks a lot, I’m gonna take a look at the source code very soon.
I was waiting for such a post !
March 27th, 2006 at 2:01 am
Fantastic! What’s the model like? I know JXTreeTable doesn’t support sorting or filtering, which is a frequent complaint!
March 27th, 2006 at 10:11 am
When I need sorting or filtering with a JXTreeTable, I actually use a standard JTable to view the filtered results. Basically, the way I always implement it, is that the JXTreeTable is the standard view, and as soon as they search or filter, it switches automatically to a flattented JTable. Not perfect, but it works…
December 22nd, 2008 at 1:31 pm
[...] variety of 3rd party components available (we used several SwingX components such as JXLayer and JXTreeTable). Monkeybars was built on Swing but could just as easily support SWT if the demand was there. [...]