aspose file tools
The moose likes Swing / AWT / SWT and the fly likes JTree and XML Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTree and XML" Watch "JTree and XML" New topic

JTree and XML

Dhanya Palanisamy
Ranch Hand

Joined: Oct 20, 2006
Posts: 61
Hi Friends,

I have an XML which queries database for some data. I have to display this XML using JTree. Since data is huge it takes lot of time to build and display the tree. Is there anyway the child nodes would get build from XML after we click the corresponding parent node, as i wont be requring to view all child nodes. Pls do help.

Brian Cole
Ranch Hand

Joined: Sep 20, 2005
Posts: 865
I'm not sure why you posted the same thing in two different Forums but, since the other one has some replies, the discussion should probably go there instead of here.

bitguru blog
Have you tried LearnNowOnline?
subject: JTree and XML