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
posted 10 years ago
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...