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
For Netbeans use Ctrl+Shift+I to remove unused import from the file.