I can't wait for NetBeans 6.0 to go beta...
Here's how: place your cursor on an error. Then a light bulb icon will appear. Hit Alt-Enter and a little menu of options pops up. So far I have seen the following features, but there are probably more:
Oh, by the way, if you're a Sun engineer you're probably wondering about TeamWare. The TeamWare module is now included in Update Center. Simply select Tools|Update Center and click next. The module has improved support for refactorings, so it is now able to check files out during a refactoring. This saved me a lot of time when I renamed virtually all of the Tree API.
There's a cool new feature in NetBeans 5.0 beta. The code completer
is now CamelCase-aware. This means if you type UOE, NetBeans will
suggest UnknownObjectException or UnsupportedOperationException.
Download
NetBeans 5.0 beta now.
UPDATE:Roman Strobl's What's New in NetBeans 5.0 Beta.
Compare the tree view to the default package view:
This is only selected packages of the JDK. The package view is really horrible when I open the entire JDK in NetBeans.
So don't start using -source 6 yet in NetBeans. Right click on your project, open properties, and add -source 5 in the Build/Compiling section.
UPDATE: As of NetBeans 4.1 RC2 (not beta) you can now set a source level. I just installed NetBeans using a Mustang runtime and I think the default was to use source level 1.5. To set the source level, open the project properties as described above and use the pull down menu:
Anyways, javac and JVM should soon be agreeing on -target 6. So in a few weeks you can start trying out the new stack map format which should improve security as we can enable the verifier by default.