Bug 11546 Progress bar gets cleared during project creation
IMPORTANT: Start a new empty workspace Start to create a Java project Enter "JUnit" as name Press "Finish" ==> Progress bar goes to right, then gets cleared and user has to wait without knowing what's going to happen.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewProjectCreationWizardPage.java
}
					configureJavaProject(new SubProgressMonitor(monitor, 2));
				} catch (CoreException e) {
					throw new InvocationTargetException(e);
				} finally {
					monitor.done();
				}
			}
		};
	}
	private void createProject(IProgressMonitor monitor) throws CoreException {
		IProject project= fMainPage.getProjectHandle();
		IPath projectLocation= fMainPage.getLocationPath();
		BuildPathsBlock.createProject(project, projectLocation, monitor);
		fProjectCreated= true;
	}
	
	private void initFromExistingStructures(IProgressMonitor monitor) throws CoreException {
		if (monitor == null)
			monitor= new NullProgressMonitor();		
		
		monitor.beginTask(NewWizardMessages.getString("NewProjectCreationWizardPage.DetectingClasspathOperation.desc"), 2); 
		try {
			IProject project= fMainPage.getProjectHandle();
			
			if (project.getFile(".classpath").exists()) { 
				init(JavaCore.create(project), null, null, false);
				monitor.worked(2);
			} else{
				final HashSet sourceFolders= new HashSet();