Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

multiple root and multiple-part node JTree

843804Jun 13 2005 — edited Jun 20 2005
Dear all,

I would like to make a tree structure to represent our system which includes many tools so that users can choose the tools they want to use. Each leaf node of the tree correspond to one tool and should has three parts: name, description and a check box. I would like to ask 2 questions:

1. Can I configure the Jtree so that it has many roots instead of just 1 root?

2. How can I create the nodes which have multiple parts like what I've described above?

Thank you very much
Fantabk
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 18 2005
Added on Jun 13 2005
9 comments
765 views