how to use custom nodes in a JTree without reinventing the wheel?
Hello,
Each node contains two JTextAreas in a Box layout and a few JButtons.
I wish to display these nodes in a JTree.
Reading the tutorial, it seems I would have to reimplement the TreeModel, TreeCellRenderer/Editor, MutableTreeNode interfaces etc.
Can I use the DefaultTreeModel, and other standard widgets (great stuff!) to minimize the amount of reimplementation I must do. aka avoid reinventing the wheel? I was thinking of extending my node from the DefaultMutableTreeNode class - however it does not display the nodes with the TextAreas, buttons etc.
any help appreciated.
thanks,
Anil

