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

[641 byte] By [anilp1a] at [2007-10-2 10:51:09]
# 1
read there: http://www.mutualinstrument.com/Easy/FAQ/Tree/tree.html
gusseva at 2007-7-13 3:09:44 > top of Java-index,Desktop,Core GUI APIs...
# 2
was able to fix it over here: http://forum.java.sun.com/thread.jspa?messageID=4089777
anilp1a at 2007-7-13 3:09:44 > top of Java-index,Desktop,Core GUI APIs...