Bug 140049 [Dialogs] - deprecate ImageAndMessageArea
bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/ImageAndMessageArea.java
GridLayout glayout = new GridLayout();
		glayout.numColumns = 2;
		glayout.marginWidth = 0;
		glayout.marginHeight = 0;
		glayout.marginTop = BORDER_MARGIN;
		glayout.marginBottom = BORDER_MARGIN;
		container.setLayout(glayout);
		messageField = new DecoratedField(container,SWT.READ_ONLY | style,new TextControlCreator());
    	setFont(JFaceResources.getDialogFont());
		
		GridData gd = new GridData(SWT.FILL,SWT.FILL,true,true);
		int lineHeight = ((Text) messageField.getControl()).getLineHeight();
		if((style & SWT.WRAP) > 0)
			gd.heightHint = 2 * lineHeight;
		else
			gd.heightHint = lineHeight;
		
		messageField.getLayoutControl().setLayoutData(gd);
		
		addPaintListener(new PaintListener() {
			/* (non-Javadoc)
			 * @see org.eclipse.swt.events.PaintListener#paintControl(org.eclipse.swt.events.PaintEvent)
			 */
			public void paintControl(PaintEvent e) {
				onPaint(e);
			}
		});