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 I am creating a class, I like to give his full class name like org.vbb.unittest.Translation. Before NB4.0, it was not supported, but you received a clear message or ignored the path and keep the classname. Now, it is also not supported, but give no message at all and ignore your class name. Finally, I had a Class.java file in the default package.
Probably reasonable that the Java target chooser would autocreate missing package directories if you specify a FQN. Not sure exactly how it should work in the GUI, however - there is a Name field as well as a Package editable combo. I believe you can enter an explicit package in the Package field, but if you specify a package prefix in the Name field it does not grok this? Behavior of wizard needs to be refined.
Defect, I think, since it lets you enter a FQN that does not interact properly with the supplied package. Should either handle the package prefix, or forbid it.
Making enhancement again. (ClassName no longer does permit to fill in package prefix). And closing as wontfix. Because there is the package field where the user is supposed to wite (or select) the package name. (It also should now be filled with reasonable context sensitive default). It would be pretty messy to have the package name in both class and package field and to try to implement some "smart" gess about what the package should be.
Reorganization of java component