Bug 103026 When detected a 1.5 JDK on a fresh workspace as a default the default compiler complaince should be switch to 5.0
3.1 Compiling with compiler complaince 1.4 against a 5.0 VM can cause some trouble with covariant return types. Therefore when detecting the default VM for a fresh workspace the launching plug-in should switch the default compiler compliance to 5.0 when a 1.5 VM is detected.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/JavaProjectWizardFirstPage.java
}
		public void update(Observable o, Object arg) {
			final boolean detect= fDetectGroup.mustDetect();
			fStdRadio.setEnabled(!detect);
			fSrcBinRadio.setEnabled(!detect);
			fPreferenceLink.setEnabled(!detect);
			fGroup.setEnabled(!detect);
		}
		
		public boolean isSrcBin() {
			return fSrcBinRadio.isSelected();
		}
		/* (non-Javadoc)
		 * @see org.eclipse.swt.events.SelectionListener#widgetSelected(org.eclipse.swt.events.SelectionEvent)
		 */
		public void widgetSelected(SelectionEvent e) {
			widgetDefaultSelected(e);
		}
		/* (non-Javadoc)
		 * @see org.eclipse.swt.events.SelectionListener#widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent)
		 */
		public void widgetDefaultSelected(SelectionEvent e) {
			String id= NewJavaProjectPreferencePage.ID;
			PreferencesUtil.createPreferenceDialogOn(getShell(), id, new String[] { id }, null).open();
			fDetectGroup.handleComplianceChange();
			fJREGroup.handlePossibleComplianceChange();
		}
	}
	
	private final class JREGroup implements Observer, SelectionListener, IDialogFieldListener {