Search code examples
javagridhierarchical

Hierarchical table column in Java


Is there any Java library that supports hierarchical column?

For example (the first three row are columns) :

------------------------------------------------
2008                                           |
------------------------------------------------
January               | February               |
------------------------------------------------
Week1 | Week2 | Week3 | Week 1 | Week2 | Week3 |
------------------------------------------------
10    | 20    | 14    | 12     | 15    | 3     |
------------------------------------------------

Solution

  • May be a JXTree from SwingLab could approach what you are looking for.

    Illustration here, from the Swingx project

    http://avatar21.superihost.com/images/JXTableJXTreeTable.png