Is there an example of using DefaultMutableTreeNode with a List object?
 
I found that the constructor allows:
 
DefaultMutableTreeNode(java.util.List children, boolean allowsChildren)
 
This is more to what I need, is there an example usage of this?
 
I'd like to know how if I would have to create a DefaultMutableTreeNode object for each parent, since the List object parameter is a list of children?
 
Thanks,
 
--Todd

Reply via email to