Bug 114486 New project wizard: error message not updated
I20051031-2000 - configure three VMs. One 1.5, one 1.4.2 and one 1.2.2 - set 1.5 as default and set workspace compiler compliance to 5.0 - open new project wizard - select configure link - change default VM to 1.4. observe: you get an error message - change default VM to 1.2. using the configure link observe: error message is NOT updated. It still reads 1.4 JDK.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/JavaProjectWizardFirstPage.java
public String getSelectedCompilerCompliance() {
			if (fUseProjectJRE.isSelected()) {
				int index= fJRECombo.getSelectionIndex();
				if (index >= 0 && index < fComplianceData.length) { 
					return fComplianceData[index];
				}
			}
			return null;
		}
	}
	
	/**
	 * Show a warning when the project location contains files.
	 */
	private final class DetectGroup extends Observable implements Observer, SelectionListener {
		private final Link fHintText;
		private boolean fDetect;
		
		public DetectGroup(Composite composite) {
			
			Link jre50Text= new Link(composite, SWT.WRAP);
			jre50Text.setFont(composite.getFont());
			jre50Text.addSelectionListener(this);
			GridData gridData= new GridData(GridData.FILL, SWT.FILL, true, true);
			gridData.widthHint= convertWidthInCharsToPixels(50);
			jre50Text.setLayoutData(gridData);
			fHintText= jre50Text;
			
			handlePossibleJVMChange();