|
Hi All, I have a JTree which contains nodes that are extending from DefaultMutableTreeNode. I want to programatically add some nodes to this tree. These nodes belong to some other class which also extends from DefaultMutableTreeNode.
I’m able to add these nodes and they are also shown in the tree. However when I call If I do getChildCount() on the parent of these nodes I get zero.
Can anyone figure out why it is happening so and suggest some solution.
Thanks in Advnace,
Regards, -Soumitra
|
**************************Disclaimer************************************ Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity to which it is addressed. You are notified that any use, copying or dissemination of the information contained in the E-MAIL in any manner whatsoever is strictly prohibited.
***************************************************************************
