I love the fact that you used the Swing Tree model. I loved it because it let me simply take a Tree that I had built using the Swing Tree model and just import it directly into our Wicket web-app. No modification necessary.
I also agree that using the Swing model brings with it a lot of well polished and easy to use/modify code and I think you're right in using it going forward. The Swing model has very nice support for adding, inserting, and removing nodes and not only that but for tracing to individual paths and leafs(sp). It also has nice support for customizing the display of the tree.
I think you'll find that more people than you realize will benefit from the marriage to the Swing model. If you have a question about how to use the tree there are certainly many tutorials online about how to use the Swing model and how to make it do what you want and look the way you want.
-Andy
"As a side note. I'm still waiting for someone to step in and make this
tree or a subclass a nice DHTML/ Ajax enabled tree. There have been
several unfinished initiatives of making DHTML tree (and a couple of
custom trees that I know of that are used in projects, but that
haven't been made publicly available). We have different opions about
where the direction the tree should be heading amongst developers,
where I seem to stand alone in my argument that Swing's model is the
way to go in favor of a simplified custom model. So, it's good to read
for a change people like the fact that the tree uses the Swing model
:)
Eelco"
tree or a subclass a nice DHTML/ Ajax enabled tree. There have been
several unfinished initiatives of making DHTML tree (and a couple of
custom trees that I know of that are used in projects, but that
haven't been made publicly available). We have different opions about
where the direction the tree should be heading amongst developers,
where I seem to stand alone in my argument that Swing's model is the
way to go in favor of a simplified custom model. So, it's good to read
for a change people like the fact that the tree uses the Swing model
:)
Eelco"