This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
070321 -add SVG menu to new visual midlet -go to Source -go to Flow view -remove the SVG menu -go to Source ->there is still import org.netbeans.microedition.svg.SVGMenu;
Changing to enhancement. There is no way to find whether a particular import statement was autogenerated or entered by an user. Therefore I would rather invoke optimize-import-section action.
increasing priority doesn't mater if it's bug or enhancement... Imagine a situation that you added a SVG component by mistake. You delete it but it's not enought...
Anyway it is not easy to implement it e.g. there could be a case where a custom component is used somewhere in the user-code. Therefore the correct fix is to inspect whole source code or to invoke optimize-import action.
Very likely it will not be fixed in NB6.0.