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/dialogs/DialogMessageArea.java
public void createContents(Composite parent) {
        Display display = parent.getDisplay();
        Color background = JFaceColors.getBannerBackground(display);
        Color foreground = JFaceColors.getBannerForeground(display);
        
        titleLabel = new CLabel(parent, SWT.NONE);
        JFaceColors.setColors(titleLabel, foreground, background);
        titleLabel.setFont(JFaceResources.getBannerFont());
        messageComposite = new Composite(parent, SWT.NONE);
        GridLayout messageLayout = new GridLayout();
        messageLayout.numColumns = 2;
        messageLayout.marginWidth = 0;
        messageLayout.marginHeight = 0;
        messageLayout.makeColumnsEqualWidth = false;
        messageComposite.setLayout(messageLayout);
        messageImageLabel = new Label(messageComposite, SWT.NONE);
        messageImageLabel.setImage(JFaceResources
                .getImage(Dialog.DLG_IMG_MESSAGE_INFO));
        messageImageLabel.setLayoutData(new GridData(
                GridData.VERTICAL_ALIGN_CENTER));
        messageImageLabel.setBackground(parent.getDisplay().getSystemColor(
                SWT.COLOR_YELLOW));
        messageText = new Text(messageComposite, SWT.NONE);
        messageText.setEditable(false);
        messageText.setBackground(parent.getDisplay().getSystemColor(
                SWT.COLOR_RED));
        GridData textData = new GridData(GridData.GRAB_HORIZONTAL
                | GridData.FILL_HORIZONTAL | GridData.VERTICAL_ALIGN_CENTER);
        messageText.setLayoutData(textData);
        setMessageColors(JFaceColors.getBannerBackground(messageComposite