I found out recently that JList (finally!) was "generified" in JDK7.
Why JTree and related classes/interfaces are not changed the same?
It would be a huge improvement. Casting Object is going on one's nerves.
NOTE: The javadoc had not yet been updated, see here and here.