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/PreferencePage.java
}
    /** (non-Javadoc)
     * Method declared on IPreferencePage.
     */
    public void setContainer(IPreferencePageContainer container) {
        this.container = container;
    }
    /**
     * The <code>PreferencePage</code> implementation of this method 
     * declared on <code>DialogPage</code> updates the container.
     */
    public void setErrorMessage(String newMessage) {
        super.setErrorMessage(newMessage);
        if(messageArea == null){
        	if (getContainer() != null) 
        		getContainer().updateMessage();
        }
        else 
        	messageArea.updateText(
					PreferenceDialog.getShortenedString(
							newMessage,messageArea.messageText),IMessageProvider.ERROR);
    }
    /**
     * The <code>PreferencePage</code> implementation of this method 
     * declared on <code>DialogPage</code> updates the container.
     */
    public void setMessage(String newMessage, int newType) {
        super.setMessage(newMessage, newType);
        if(messageArea == null){
        	if (getContainer() != null)