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/JavaProjectWizard.java
protected void finishPage(IProgressMonitor monitor) throws InterruptedException, CoreException {
    	fSecondPage.performFinish(monitor); 
    }
    
    private boolean is15Classpath(IJavaProject javaProject) {
    	try {
    		return javaProject.findType("java.lang.Enum") != null; 
    	} catch (JavaModelException e) {
    		
    		return false;
    	}
    }
    
    private void checkCompliance() {
    	IJavaProject javaProject= fSecondPage.getJavaProject();
    	String projectCompatibility= javaProject.getOption(JavaCore.COMPILER_CODEGEN_TARGET_PLATFORM, true);
    	boolean is15Configured= JavaCore.VERSION_1_5.equals(projectCompatibility);
    	if (is15Classpath(javaProject) && !is15Configured) {
    		new ChangeComplianceDialog(getShell(), javaProject).open();
    	}
    }
    
    
	/* (non-Javadoc)
	 * @see org.eclipse.jface.wizard.IWizard#performFinish()
	 */
	public boolean performFinish() {
		boolean res= super.performFinish();
		if (res) {
			checkCompliance();