Bug 140049 [Dialogs] - deprecate ImageAndMessageArea
bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/ImageAndMessageArea.java
*	Draws the message area composite with rounded corners.
	 */
	private void onPaint(PaintEvent e) {
		Rectangle carea = getClientArea();
		e.gc.setForeground(getForeground());
		
		
		e.gc.drawPolyline(new int[] { carea.x, carea.y + carea.height - 1,
				carea.x, carea.y + 2, carea.x + 2, carea.y,
				carea.x + carea.width - 3, carea.y,
				carea.x + carea.width - 1, carea.y + 2,
				carea.x + carea.width - 1, carea.y + carea.height - 1 });
	}
	/* (non-Javadoc)
	 * @see org.eclipse.swt.widgets.Control#setFont(org.eclipse.swt.graphics.Font)
	 */
	public void setFont(Font font) {
		super.setFont(font);
		((Text) messageField.getControl()).setFont(font);
	}
	
	/* (non-Javadoc)
	 * @see org.eclipse.swt.widgets.Control#setToolTipText(java.lang.String)
	 */
	public void setToolTipText(String text){
		super.setToolTipText(text);
		((Text) messageField.getControl()).setToolTipText(text);
	}
}