Bug 24586 [Dialogs] Changed initial focus behaviour
bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/MessageDialog.java
parent,
		title, 
		null,	
		message, 
		WARNING, 
		new String[] {IDialogConstants.OK_LABEL}, 
		0); 	
	dialog.open();
	return;
}
/**
 * @see org.eclipse.jface.dialogs.Dialog#createButton(org.eclipse.swt.widgets.Composite, int, java.lang.String, boolean)
 */
protected Button createButton(Composite parent,int id,String label,boolean defaultButton) {
	
	Button button = super.createButton(parent, id, label, defaultButton);
	
	
	if(defaultButton && !customArea.isFocusControl())
		button.setFocus();
	return button;
}
	/*
	 * @see IconAndMessageDialog#getImage()
	 */
	public Image getImage() {
		return image;
	}
}