Bug 28398 New Java Project Wizard: no source folder after using "Back"
Build 20021213 1. Start the new Java Project wizard 2. Enter "JUnix" 3. Press "Next" - see: there's a source folder 4. Press "Back" 5. Change project name to "JUnit" 6. Press "Next" ==> no source folder
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/SourceContainerWorkbookPage.java
boolean useFolderOutputs= false;
		List cpelements= fClassPathList.getElements();
		for (int i= 0; i < cpelements.size(); i++) {
			CPListElement cpe= (CPListElement)cpelements.get(i);
			if (cpe.getEntryKind() == IClasspathEntry.CPE_SOURCE) {
				fFoldersList.addElement(cpe);
				boolean hasOutputFolder= (cpe.getAttribute(CPListElement.OUTPUT) != null);
				if (hasOutputFolder) {
					useFolderOutputs= true;
				}
				IPath[] patterns= (IPath[]) cpe.getAttribute(CPListElement.EXCLUSION);
				if (patterns.length > 0 || hasOutputFolder) {
					fFoldersList.expandElement(cpe, 3);
				}
			}
		}
		fUseFolderOutputs.setSelection(useFolderOutputs);
	}			
	
	public Control getControl(Composite parent) {
		PixelConverter converter= new PixelConverter(parent);
		Composite composite= new Composite(parent, SWT.NONE);
		
		LayoutUtil.doDefaultLayout(composite, new DialogField[] { fFoldersList, fUseFolderOutputs }, true);
		LayoutUtil.setHorizontalGrabbing(fFoldersList.getTreeControl(null));
		
		int buttonBarWidth= converter.convertWidthInCharsToPixels(24);
		fFoldersList.setButtonsMinWidth(buttonBarWidth);