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.
When using "fix imports", when there are multiple instances of the same classname in the classpath, the editor will popup a dialog where you can choose the exact class to import from all different packages. Example: in my project I use XOM and when I fix imports, for most of the classes (Element, Node, Attribute, etc.) I get more than 4 and sometimes even 8 or more different hits for the same names. Name clashing is all too common among the great number of Java packages available, XOM is not an isolated example. It would make things a little easier for me, and I suspect a lot of other people, if the combo boxes of suggested classes had classes from packages I have specifically added to my project (jar, library or project dependency) at the top of these lists. This will bring down the need to select the correct class in the combo boxes to a bare minimum.
See also my comments in #57853 - Fix Import should default to favorite classes.