This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Tree swings(urgent) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Tree swings(urgent)" Watch "Tree swings(urgent)" New topic
Author

Tree swings(urgent)

ashu kumar
Greenhorn

Joined: Jan 10, 2001
Posts: 3
I have made a dynamic tree in swings which is flooded by the data from database.as it is dynamicaly generated i don't have any idea which node is parent ,which one will be leaf,
now as i have to incude gif files
in the node ,i don't know how to use rendering in this case,as in the most of the book they have given eg related to static tree
thanks in advance
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
I think this may help
http://java.sun.com/products/jfc/tsc/articles/treetable1/index.html
from http://java.sun.com/products/jfc/tsc/articles/index.html


"JavaRanch, where the deer and the Certified play" - David O'Meara
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tree swings(urgent)
 
Similar Threads
Tree swings(urgent)
How to get selected tree nodes not in selected order?
(JAVA SWING)JTREE + JDOM +XML
Hierarchical structure using swings
Binary Search Trees