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'm in the explorer and I hit New / Java Package, it prompts me for a package name. If I just hit return or click 'Finish', it picks "Package". Please change that to "package". The naming convention for Java packages is all lowercase. Also, this is causing problems for me when I want to use the full classname of a class inside of it. For instance, if I have a "Foo" class inside of "Package", and I want to say "new Package.Foo()", I get compile errors since java.lang.* is always imported (java.lang.Package conflicts with it).
I just realized that "package" can not be used either, since it's a Java keyword. A default name needs to be picked that's not in java.lang and it should follow standard java naming conventions. So, I suggest "pkg".
Good, fixed in trunk: Checking in src/org/netbeans/modules/java/ui/wizard/Bundle.properties; /cvs/java/src/org/netbeans/modules/java/ui/wizard/Bundle.properties,v <-- Bundle.properties new revision: 1.20; previous revision: 1.19 done Checking in src/org/netbeans/modules/java/ui/wizard/JavaPackageIterator.java; /cvs/java/src/org/netbeans/modules/java/ui/wizard/JavaPackageIterator.java,v <-- JavaPackageIterator.java new revision: 1.7; previous revision: 1.6
VERIFIED
Reorganization of java component