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
((Tree) viewer.getControl()).addSelectionListener(new SelectionAdapter() {
			public void widgetDefaultSelected(final SelectionEvent event) {
				ISelection selection = viewer.getSelection();
				if (selection.isEmpty())
					return;
				IPreferenceNode singleSelection = getSingleSelection(selection);
				boolean expanded = viewer.getExpandedState(singleSelection);
				viewer.setExpandedState(singleSelection, !expanded);
			}
		});
		
		viewer.getControl().addHelpListener(new HelpListener() {
			public void helpRequested(HelpEvent event) {
				
				if (currentPage != null) {
					currentPage.performHelp();
				}
			}
		});
	}
	/**
	 * Find the <code>IPreferenceNode</code> that has data the same id as the
	 * supplied value.
	 * 
	 * @param nodeId
	 *            the id to search for.
	 * @return <code>IPreferenceNode</code> or <code>null</code> if not
	 *         found.
	 */
	protected IPreferenceNode findNodeMatching(String nodeId) {