I want to have the following as the child of a tree :
**CheckBox[reference of CheckBox]+some text
example: checkbox text1 checkbox text2 checkbox text3 I am unable to add both check box and text as the child of the tree. My nodes are generated at run time so number of checkboxes will be known only at run time. plz tell how can i achieve this functionality. thanx
This can be attained only if you use a renderer for the tree nodes..to say a panel in which you add both a checkbox and a label. And this is used while rendering the Jtree during runtime...If you find difficulties I can help you with the code...
Thanks and Regards
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop