07 November 2001 - java_dev (original) (raw)

12:35 pm - banana - Drawing a tree I had to replicate a Swing app with JSP, and it had a tree in the manner of the Windows Explorer. It turned out not to be too hard to draw a tree just as text. If you think that sounds interesting, here's my tree drawing test class.( Read more...Collapse )

| | 08:00 pm - joshknowles - JTree I am attempting to create a JTreeModel that allows sorting (with new nodes being placed into the appropriate spots based on the sort) as well as searching using the userObject for the DefaultMutableTreeNode. Has anyone done (or seen where I can get source for) something like this?Thanks,~josh | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |