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.
Hi, When I use the Import Management Tool it generates the import statements at the top of the file, so before the package statement and therefor the file doesn't compile. Here're the selections I made for the file I will attach (I will also attach the new file): 1) The first page doesn't show anything to select, so just click NEXT 2) java.lang.String -> Don't use FQN java.util.Hashmap -> use FQN org.apache.log4j.Category -> Don't use FQN 3) org.apache.log4j -> Use single named import java.util -> Use package import Iwan
Created attachment 884 [details] File that will be subject to the Import Management Tool
Created attachment 885 [details] File after the Import Management Tool screwed it up
Lowering priority - it does not seem to be deterministic. it's more a problem with the code generator than with the import tool itself; will check.
Fixed potentially buggy code in the code generator. Positioning should now be clear, simple and fast :) until a next bug is found.
[release32-23] Verified
Target milestone -> 3.2
Resolved for 3.4.x or earlier, no new info since then -> closing.