JTree and XML

D

dhanya

Hi Friends,

I want to build a JTree from a given XML. The tree should display only
first level of nodes at the beginning and when the user selects a
particular node only the application should fetch the child nodes.
I can display the first level of nodes but i could not figure out how
to continue as i am new to Swing. Pks someone help me in creating this
dynamic tree.

Thanks & Regards,
dhanya
 
A

Andrew Thompson

dhanya said:
Hi Friends,

Hi. I was about to read your post from c.l.j.help,
but then I noticed this one.

Please refrain from multi-posting in future.

(X-post to c.l.j.p./h, w/ f-u to c.l.j.h only.)

Andrew T.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,175
Latest member
Vinay Kumar_ Nevatia
Top