I'd suggest using one of the many JavaScript tree widgets that are available. I use trees quite often in my applications, and I have downloaded and modified
TreeView for this purpose. There are lots of them, though. Just Google "JavaScript tree" and you'll get an idea of what's out there.
If you have a
Java data model you wish to represent as a tree structure, just write a code generator class to generate the JavaScript code that will create the tree.
[ September 27, 2006: Message edited by: Merrill Higginson ]