Bug 94915 [Preferences] Editors preference page shortly shows error status on first display
I20050509-2010: Steps to reproduce: - Restart workbench or make sure that last visited preference page is not the Editors preference page - Open the Editors preference page -> For a very short time, the preference displays an error status below the preference page caption
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/ide/dialogs/AbstractEncodingFieldEditor.java
* 
	 * @param encodings the list of encodings (list of String)
	 * @param selectedEncoding the selected encoding, or <code>null</code>
	 */
	private void populateEncodingsCombo(List encodings, String selectedEncoding) {
		String[] encodingStrings = new String[encodings.size()];
		encodings.toArray(encodingStrings);
		encodingCombo.setItems(encodingStrings);
		if (selectedEncoding == null)
			encodingCombo.setText(getDefaultEnc());
		else
			encodingCombo.setText(selectedEncoding);
	}
	private void updateEncodingState(boolean useDefault) {
		defaultEncodingButton.setSelection(useDefault);
		otherEncodingButton.setSelection(!useDefault);
		encodingCombo.setEnabled(!useDefault);
		updateValidState();
	}
	private void updateValidState() {
		boolean isValidNow = isEncodingValid();
		if (isValidNow != isValid) {
			isValid = isValidNow;
			if (isValid) {
				clearErrorMessage();
			} else {
				showErrorMessage(IDEWorkbenchMessages.WorkbenchPreference_unsupportedEncoding);
			}
			fireStateChanged(IS_VALID, !isValid, isValid);
			String newValue = getSelectedEncoding();