amazingwolf1
asked on
Java swing component to render a tree table
Hi,
I am new to swing, but have a good knowledge of java in general.
I am looking for a swing component to render a tree table, that its nodes are tables.
The nested tables have different columns (name and type) then the wrapping table.
The nested tables may also be table trees that will be expanded to more hierarchy's level.
Attached is a screenshot of what I am trying to get.
Does anyone know how to code this component, which swing components to use etc? Does anyone knows a third party component that does something similar? Any help will be very appreciated!
TableTree.JPG
I am new to swing, but have a good knowledge of java in general.
I am looking for a swing component to render a tree table, that its nodes are tables.
The nested tables have different columns (name and type) then the wrapping table.
The nested tables may also be table trees that will be expanded to more hierarchy's level.
Attached is a screenshot of what I am trying to get.
Does anyone know how to code this component, which swing components to use etc? Does anyone knows a third party component that does something similar? Any help will be very appreciated!
TableTree.JPG
ASKER
I'm afraid its not what I need.
In both of the examples there is an ordinary tree table implementation, which btw can also be done with JXTreeTable.
What I refer to as the "ordinary" functionality, is diaplying the same information for all levels:
For example - At file system tree.
The highest level is directory - and we display Name, Size, date modified.
For the next child level - files, we display again the same data at the same colums - name size etc.
That functionality is rather easy to get.
But what if I want to display data about author and mime type for files only?
I want to be able to display different information per hierarchy level, as I demonstrated in the attached screenshots.
I couldnt find similar example in the net yet.
In both of the examples there is an ordinary tree table implementation, which btw can also be done with JXTreeTable.
What I refer to as the "ordinary" functionality, is diaplying the same information for all levels:
For example - At file system tree.
The highest level is directory - and we display Name, Size, date modified.
For the next child level - files, we display again the same data at the same colums - name size etc.
That functionality is rather easy to get.
But what if I want to display data about author and mime type for files only?
I want to be able to display different information per hierarchy level, as I demonstrated in the attached screenshots.
I couldnt find similar example in the net yet.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://javaboutique.internet.com/TreeTable/
https://www.experts-exchange.com/questions/21146804/TreeTables-In-Swing.html