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.
I ran the Import Tool on my java files. (Why oh why can't it operate on multiple files simultaneously? I suppose I should file an RFE for that...) I don't want to use wildcards, and I don't want to have FQN's in my source, so I had set the FQN threshold to 0 (I first set it to 1 - but that doesn't work. That seems wrong.) Then I ran the import tool on each file, just pressing "Finish" as soon as the dialog came up. For two of my files, it would no longer compile after running the import tool. In both cases, the Import Tool had removed importing the NbBundle class. And NbBundle was referenced only in the initComponents() section generated by the form module; never outside of the blue areas. E.g. Import Tool removes necessary/referenced imports, and it seems to be related to those imports occurring inside of form builder read-only regions.
Import Management Tool does not process guarded blocks, since it cannot modify them. The code in guarded blocks must use FQN.