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.

Bug 42535

Summary: Implement Wizard for Java Package
Product: java Reporter: Jesse Glick <jglick>
Component: UnsupportedAssignee: Petr Hrebejk <phrebejk>
Status: RESOLVED FIXED    
Severity: blocker CC: jrojcek
Priority: P2    
Version: 4.x   
Hardware: PC   
OS: Linux   
URL: http://projects.netbeans.org/buildsys/j2se-project-ui-spec.html#Step_2_New_Java_Package_Name_and
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 41535    

Description Jesse Glick 2004-04-27 18:29:03 UTC
If I use the New File wizard on the default
package of a module and select Java Package, if I
try to enter a package name (e.g.
'org.netbeans.foo') it claims (in the Created File
field) that it is trying to make
.../src/org.netbeans.foo when it should be
.../src/org/netbeans/foo. I think this particular
template needs a special wizard iterator that
understands that '.' is the folder separator.

On the other hand, if I type e.g. "org/netbeans"
in the Folder field and "foo" in the Name field,
it works. And of course the Folder field should
really be a package chooser (for the containing
package).

Needs UI rework; probably the 3.x package target
panel would be a good starting point.
Comment 1 Petr Hrebejk 2004-05-18 08:36:47 UTC
The JavaPackage wizard is not implemetented yet. Making this bug be
the main one for implementing it.
Comment 2 Petr Hrebejk 2004-05-18 08:37:14 UTC
*** Issue 43384 has been marked as a duplicate of this issue. ***
Comment 3 Petr Hrebejk 2004-05-18 08:38:21 UTC
Adding URL to spec.
Comment 4 Petr Hrebejk 2004-05-19 12:24:03 UTC
Special case of wizard for crateing packages implemented
Comment 5 Quality Engineering 2007-09-20 09:44:24 UTC
Reorganization of java component