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
/* (non-Javadoc)
     * @see org.eclipse.jface.wizard.IWizard#canFinish()
     */
    public boolean canFinish() {
        return super.canFinish();
    }
    
    /**
     * Set the autobuild to the value of the parameter and
     * return the old one.
     * 
     * @param state the value to be set for autobuilding.
     * @return the old value of the autobuild state
     */
    private boolean enableAutoBuild(boolean state) {
        try {
            IWorkspace workspace= ResourcesPlugin.getWorkspace();
            IWorkspaceDescription desc= workspace.getDescription();
            boolean isAutoBuilding= desc.isAutoBuilding();
            if (isAutoBuilding != state)
                desc.setAutoBuilding(state);
            workspace.setDescription(desc);
            return isAutoBuilding;
        } catch (CoreException e) {
            JavaPlugin.log(e);
        }
        return true;
    }
}