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 49954

Summary: [40cat] Create a new class - package is missing
Product: java Reporter: meliandra <meliandra>
Component: ProjectAssignee: Jesse Glick <jglick>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P4    
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 41535    
Attachments: Picture

Description meliandra 2004-10-05 16:51:55 UTC
[ BUILD # : beta 2 ]
[ JDK VERSION : J2SE 1.5.0 ]

Select package
Right mouse click -> New File/Folder
Select Java Main Class
Next
The selected package isn't in the text field for
package.
Comment 1 meliandra 2004-10-05 16:52:42 UTC
Created attachment 18053 [details]
Picture
Comment 2 Jesse Glick 2004-10-06 02:52:43 UTC
Reproducible if the target package is empty. I think I have a patch
for it.
Comment 3 Jesse Glick 2004-10-06 22:15:47 UTC
committed   * Up-To-Date  1.21       
java/project/src/org/netbeans/modules/java/project/JavaTargetChooserPanelGUI.java
committed   * Up-To-Date  1.2        
java/project/src/org/netbeans/modules/java/project/PackageListView.java