I want to build a TreeModel from some Lists that contain the source data. Now, there's an utility class called DynamicUtilTreeNode that can be used to build trees from arrays, Vectors and Hashtables, but... not from Lists?! Of course I could use the List's toArray() method, but it gives a clone array of the List's state at the moment, so any changes in the List wouldn't get propagated to the TreeModel.
Is there an obvious reason why DynamicUtilTreeNode doesn't support Lists? Is there anything similar that would support Lists, or should I just write it myself?