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 89062

Summary: New Folder dialog doesn't recognize existing folder
Product: projects Reporter: _ potingwu <potingwu>
Component: Generic Projects UIAssignee: Milan Kubec <mkubec>
Status: RESOLVED WORKSFORME    
Severity: blocker    
Priority: P4    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: screenshot

Description _ potingwu 2006-11-09 18:56:02 UTC
Steps to reproduce:
1. Create any project
2. In Projects window create new folder via context menu on project node
3. Accept default 'newFolder' name
4. Repeat the above step, but notice that in the 'New Folder' dialog, the wizard
doesn't check to see if this folder is already exist.

In NetBeans 4, the wizard simply disabled the 'Finish' button and prompted the
following message I think is a better approach:
    'The file newFolder already exists'
Comment 1 David Simonek 2006-11-20 13:11:08 UTC
Passing to dialogs, please reassign if I'm wrong.
Comment 2 Milan Kubec 2007-01-03 12:44:06 UTC
I'm not able to reproduce, attached screenshot shows warning message and
disabled Finish button.
Comment 3 Milan Kubec 2007-01-03 12:46:51 UTC
Created attachment 37010 [details]
screenshot