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
import org.eclipse.swt.widgets.Text;
/**
 * The DialogMessageArea is a resusable component for adding an accessible
 * message area to a dialog.
 * 
 * When the message is normal a CLabel is used but an errors replaces the
 * message area with a non editable text that can take focus for use by screen
 * readers.
 * 
 * @since 3.0
 */
public class DialogMessageArea extends Object {
    private Text messageText;
    private Label messageImageLabel;
    private Composite messageComposite;
    private String lastMessageText;
    private int lastMessageType;
    private CLabel titleLabel;
    /**
     * Create a new instance of the receiver.
     */
    public DialogMessageArea() {
        
    }
    /**
     * Create the contents for the receiver.
     * 
     * @param parent
     *            the Composite that the children will be created in
     */