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/MessageArea.java
public void paintControl(PaintEvent e) {
				onPaint(e);
			}
		});
		
		
		
		setLayout(new Layout() {
			public void layout(Composite parent, boolean changed) {
				Rectangle carea = getClientArea();
				container.setBounds(carea.x + BORDER_MARGIN, carea.y + BORDER_MARGIN,
							carea.width - (2 * BORDER_MARGIN), 
							carea.height - (2 * BORDER_MARGIN));
			}
			public Point computeSize(Composite parent, int wHint,
					int hHint, boolean changed) {
				Point size;
				size = container.computeSize(wHint, hHint,
						changed);
				
				 
				
				size.x += 4;
				size.y += 4;
				return size;
			}
		});
	}
	/* (non-Javadoc)
	 * @see org.eclipse.swt.widgets.Control#setBackground(org.eclipse.swt.graphics.Color)