Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply 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 ]
 
I agree. Here's the link: http://jrebel.com/download
 
subject: JtreeTable- displaying nodes of a tree in diff. columns of table
 
Similar Threads
JTreeTable
JTreeTable problem
Freezing first column(JTree) in JTreeTable - Urgent Please
I am lost , Help Me Please ...JTree
JTreeTable Expansion problems