The DefaultMutableTreeNode object has a few methods which return an Enumeration. But how do you use the Enumeration which you get?
Do you do this?
Enumeration enumer = myDefaultMutableTreeNode.getChildren();
I have a feeling that will not work.
True, but some older classes still return them (ZipFile is one of them), and you do need to know how to handle them. Also, Iterator and Enumeration are very very similar; the only reason Iterator is preferred is the (optional) remove method, and the shorter method names.