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
IPath relpath= new Path(decls[0].getElementName().replace('.', '/'));
						int remainingSegments= packPath.segmentCount() - relpath.segmentCount();
						if (remainingSegments >= 0) {
							IPath prefix= packPath.uptoSegment(remainingSegments);
							IPath common= packPath.removeFirstSegments(remainingSegments);
							if (common.equals(relpath)) {
								sourceFolders.add(prefix);
							}
						}
					}
				}
			}
		}
		return true;
	}
	
	/**
	 * Called from the wizard on cancel.
	 */
	public void performCancel() {
		if (fProjectCreated) {
			try {
				fMainPage.getProjectHandle().delete(false, false, null);
			} catch (CoreException e) {
				JavaPlugin.log(e);
			}
		}
	}
}