Bug 89645 "Build" button appears on toolbar when "New Java Project" wizard is active
Build 20050330 Whenever I press the "New Java Project" button on the toolbar, the "Build" button appears on the toolbar while the resulting wizard is active. The button disappears (causing the other toolbar buttons to shift again) when the wizard is dismissed.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/JavaProjectWizardSecondPage.java
if (projectFile.delete()) {
					copyFile(fDotProjectBackup, projectFile);
				}
			}
		} catch (IOException e) {
			IStatus status= new Status(IStatus.ERROR, JavaUI.ID_PLUGIN, IStatus.ERROR, NewWizardMessages.JavaProjectWizardSecondPage_problem_restore_project, e); 
			throw new CoreException(status);
		}
		try {
			if (fDotClasspathBackup != null) {
				File classpathFile= new File(projectLocation, FILENAME_CLASSPATH);
				if (classpathFile.delete()) {
					copyFile(fDotClasspathBackup, classpathFile);
				}
			}
		} catch (IOException e) {
			IStatus status= new Status(IStatus.ERROR, JavaUI.ID_PLUGIN, IStatus.ERROR, NewWizardMessages.JavaProjectWizardSecondPage_problem_restore_classpath, e); 
			throw new CoreException(status);
		}
	}
	
	private File createBackup(File file, String name) throws CoreException {
		try {
			File bak= File.createTempFile("eclipse-" + name, "bak");  
			copyFile(file, bak);
			return bak;
		} catch (IOException e) {
			IStatus status= new Status(IStatus.ERROR, JavaUI.ID_PLUGIN, IStatus.ERROR, Messages.format(NewWizardMessages.JavaProjectWizardSecondPage_problem_backup, name), e); 
			throw new CoreException(status);
		}