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 running with the "truncate package view" patch, the Java target chooser panel is screwed up. 1. It shows the truncated package names in the chooser - should be showing the actual package names. (No need for icons either, useless.) Just use a plain JList or something. 2. Worse, if I select a package, it claims it is going to be creating the file in e.g. ..../nb_all/ant/src/o/apa/too/ant/mod/spi/Whatever.java when it should be e.g. ..../nb_all/ant/src/org/apache/tools/ant/module/spi/Whatever.java Apparently the code is using the *display name* of the package node, which is a very poor idea.
3. Even worse, even though I *cancelled* the wizard, it created the folder .../nb_all/ant/src/o/apa/too/ant/module on disk! Should never do anything unless I press Finish. P4 only because only happens with the truncate patch AFAIK, but still shows that the code is not very well written.
Changed to node name. Ehich works and does not clash with the optionally shortened package name.