Bug 77849 [1.5][wizard] Java project wizard does only create projects for 1.4
Currently, new java projects default to 1.4 compliance. In order to develop 1.5 projects, the JRE container has to be changed, and the compiler compliance as well, but at two different places in the project properties. The new project wizard already offers a page to choose the JRE container. The compiler compliance however has to be set manually in the project properties afterwards. For consistency, compiler compliance should be configurable in the wizard too, possibly with a warning when using incompatible configurations (like 1.4 compiler compliance and 1.5 JRE, but not vice-versa)
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/JavaProjectWizard.java
/*******************************************************************************
 * Copyright (c) 2000, 2004 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials 
 * are made available under the terms of the Common Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/cpl-v10.html
 * 
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.jdt.internal.ui.wizards;
import java.lang.reflect.InvocationTargetException;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IConfigurationElement;
import org.eclipse.core.runtime.IExecutableExtension;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.ui.wizards.newresource.BasicNewProjectResourceWizard;
import org.eclipse.jdt.internal.ui.JavaPlugin;
import org.eclipse.jdt.internal.ui.JavaPluginImages;
import org.eclipse.jdt.internal.ui.util.ExceptionHandler;
public class JavaProjectWizard extends NewElementWizard implements IExecutableExtension {