monitor.beginTask(NewWizardMessages.getString("JavaProjectWizardSecondPage.operation.create"), 3); updateProject(new SubProgressMonitor(monitor, 11));
updateProject(monitor);
	private void changeToNewProject() {		fKeepContent= fFirstPage.getDetect();				final IRunnableWithProgress op= new IRunnableWithProgress() {			public void run(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {				try {                    monitor.beginTask(NewWizardMessages.getString("JavaProjectWizardSecondPage.operation.create"), 3); //$NON-NLS-1$                    updateProject(new SubProgressMonitor(monitor, 11));				} catch (CoreException e) {					throw new InvocationTargetException(e);				} catch (OperationCanceledException e) {					throw new InterruptedException();				} finally {                    monitor.done();                }			}		};			try {			getContainer().run(true, false, new WorkspaceModifyDelegatingOperation(op));		} catch (InvocationTargetException e) {			final String title= NewWizardMessages.getString("JavaProjectWizardSecondPage.error.title"); //$NON-NLS-1$			final String message= NewWizardMessages.getString("JavaProjectWizardSecondPage.error.message"); //$NON-NLS-1$			ExceptionHandler.handle(e, getShell(), title, message);		} catch  (InterruptedException e) {			// cancel pressed		}	}