Bug 131771 Match animated message behaviour in Preferences
An enhancement should be made to Preferences so that warnings and errors show up in a sliding message area like it they do in TitleAreaDialog.
bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/TitleAreaDialog.java
FormLayout layout = new FormLayout();
        titleArea.setLayout(layout);
    	
        
        titleArea.addDisposeListener(new DisposeListener() {
            public void widgetDisposed(DisposeEvent e) {
                if (titleAreaColor != null) {
					titleAreaColor.dispose();
				}
            }
        });
        
        Display display = titleArea.getDisplay();
        Color background;
        Color foreground;
        if (titleAreaRGB != null) {
            titleAreaColor = new Color(display, titleAreaRGB);
            background = titleAreaColor;
            foreground = null;
        } else {
            background = JFaceColors.getBannerBackground(display);
            foreground = JFaceColors.getBannerForeground(display);
        }
        int verticalSpacing = convertVerticalDLUsToPixels(IDialogConstants.VERTICAL_SPACING);
        int horizontalSpacing = convertHorizontalDLUsToPixels(IDialogConstants.HORIZONTAL_SPACING);
        titleArea.setBackground(background);
        
        titleImage = new Label(titleArea, SWT.CENTER);
        titleImage.setBackground(background);