Bug 13034 Cannot create a Source Folder in a new Java Project
build 20020404 If you try and create a Source Folder in a Java Project you have just created you get an error preventing you from hitting finish. STEPS 1) Create Java Project Foo 2) Open New->Source Folder 3) Enter Bar as the name - you will get "Cannot nest entry Bar inside entry Foo/Bar" 4) Create a folder Bar. 5) Add it as a source folder in the Properties Dialog for Foo. No problem.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewSourceFolderWizardPage.java
private class EditClassPathDialog extends StatusDialog implements IStatusChangeListener {
		
		private BuildPathsBlock fBuildPathsBlock;
		
		public EditClassPathDialog(Shell parent) {
			super(parent);
			fBuildPathsBlock= new BuildPathsBlock(fWorkspaceRoot, this, false);	
		}
				
		public void create() {
			super.create();
			fBuildPathsBlock.init(fCurrJProject, null, null);
		}		
				
		protected Control createDialogArea(Composite parent) {
			Composite composite= (Composite)super.createDialogArea(parent);			
			Control inner= fBuildPathsBlock.createControl(composite);
			inner.setLayoutData(new org.eclipse.swt.layout.GridData(org.eclipse.swt.layout.GridData.FILL_BOTH));
			return composite;
		}		
		
		
		public void statusChanged(IStatus status) {
			updateStatus(status);
		}
		
		protected void buttonPressed(int buttonId) {
			if (buttonId == IDialogConstants.OK_ID) {