Favorite Java 1.5 feature

I haven’t been impressed with most of the new features in Java 1.5 (ok, Java 5, whatever). Much of it is syntactic sugar, which doesn’t strike me as having much leverage. Generic are very cool, but I haven’t decided if I like how Java 5 does them. I can’t believe somebody actually spent time implementing a better for loop. Annotations are powerful, but I’d actually prefer using xdoclet with javadoc tags. But here’s something that I like…

The Synth look and feel lets you define a skin in XML. Pretty nifty, eh?

Leave a Reply