Is there something similar to the Eclipse cleanup rules (Preferences > Java > Code Style > Clean Up) in NetBeans?
The cleanup rules in eclipse will allow you to clea
NetBeans 7.2 has Inspect & Transform refactoring to do this:
http://netbeans.org/kb/docs/java/editor-inspect-transform.html