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
fJRECombo= new ComboDialogField(SWT.READ_ONLY);
			fJRECombo.setItems(fComplianceLabels);
			fJRECombo.selectItem(getDefaultJVMName());
			fJRECombo.setDialogFieldListener(this);
			Combo comboControl= fJRECombo.getComboControl(fGroup);
			comboControl.setLayoutData(new GridData(GridData.BEGINNING, GridData.CENTER, true, false)); 
			
			DialogField.createEmptySpace(fGroup);
			
			fUseDefaultJRE.setSelection(true);
			fJRECombo.setEnabled(fUseProjectJRE.isSelected());
		}
		
		private IVMInstall[] getWorkspaceJREs() {
			List standins = new ArrayList();
			IVMInstallType[] types = JavaRuntime.getVMInstallTypes();
			for (int i = 0; i < types.length; i++) {
				IVMInstallType type = types[i];
				IVMInstall[] installs = type.getVMInstalls();
				for (int j = 0; j < installs.length; j++) {
					IVMInstall install = installs[j];
					standins.add(new VMStandin(install));
				}
			}
			return ((IVMInstall[])standins.toArray(new IVMInstall[standins.size()]));	
		}
		private String getDefaultJVMName() {
			return JavaRuntime.getDefaultVMInstall().getName();
		}