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
return preferenceStore;
	}
	/**
	 * Get the name of the selected item preference
	 * 
	 * @return String
	 */
	protected String getSelectedNodePreference() {
		return lastPreferenceId;
	}
	/**
	 * @param selection
	 *            the <code>ISelection</code> to examine.
	 * @return the first element, or null if empty.
	 */
	protected IPreferenceNode getSingleSelection(ISelection selection) {
		if (!selection.isEmpty()) {
			IStructuredSelection structured = (IStructuredSelection) selection;
			if (structured.getFirstElement() instanceof IPreferenceNode)
				return (IPreferenceNode) structured.getFirstElement();
		}
		return null;
	}
	/**
	 * @return the <code>TreeViewer</code> for this dialog.
	 * @since 3.0
	 */
	protected TreeViewer getTreeViewer() {
		return treeViewer;
	}