Bug 93245 [Dialogs] Error messages show up in two locations in the properties dialog
Force an error message: 1) select a Java project 2) open the properties dialog 3) navigate to Java Compiler>Building 4) enable project specific settings 5) enter a letter into the maximum number of problems field ->the error message shows up at the bottom 6) resize the dialog ->the error message also shows up in the banner
bundles/org.eclipse.jface/src/org/eclipse/jface/preference/PreferenceDialog.java
super.constrainShellSize();
		
		if (lastShellSize == null)
			lastShellSize = getShell().getSize();
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.jface.dialogs.Dialog#createButtonsForButtonBar(org.eclipse.swt.widgets.Composite)
	 */
	protected void createButtonsForButtonBar(Composite parent) {
		
		okButton = createButton(parent, IDialogConstants.OK_ID, IDialogConstants.OK_LABEL, true);
		getShell().setDefaultButton(okButton);
		createButton(parent, IDialogConstants.CANCEL_ID, IDialogConstants.CANCEL_LABEL, false);
		if (isHelpAvailable) {
			createButton(parent, IDialogConstants.HELP_ID, IDialogConstants.HELP_LABEL, false);
		}
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.jface.window.Window#createContents(org.eclipse.swt.widgets.Composite)
	 */
	protected Control createContents(final Composite parent) {
		final Control[] control = new Control[1];
		BusyIndicator.showWhile(getShell().getDisplay(), new Runnable() {
			public void run() {
				control[0] = PreferenceDialog.super.createContents(parent);