aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes JtreeTable- displaying nodes of a tree in diff. columns of table Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JtreeTable- displaying nodes of a tree in diff. columns of table" Watch "JtreeTable- displaying nodes of a tree in diff. columns of table" New topic
Author

JtreeTable- displaying nodes of a tree in diff. columns of table

prav ford
Greenhorn

Joined: Apr 28, 2004
Posts: 16
Hi,
I am using a jtreetable. I need to display the nodes of the jtree in different columns in the table. For eg.

.-Hello(root)
.-zzz(child of hello)
.-xxx(child of hello)
.-yyy(child of hello)
.-hhh(child of yyy)
.-ttt(child of yyy)

Lets say the above diagram is my jtree. I want the root node thatis 'Hello' in column 1. The nodes 'zzz','xxx','yyy' in column 2,
and 'hhh' in column 3.
Hope i have made my problem clear.

Any help would be great
[ May 20, 2004: Message edited by: prav ford ]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JtreeTable- displaying nodes of a tree in diff. columns of table