Bug 24157 [Dialogs] MessageDialog needs to setFocus on default button
As the MessageDialog by default has no other widgets to set focus on we need to set focus on the default button to prevent it getting slammed by the default SWT behaviour.
bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/MessageDialog.java
package org.eclipse.jface.dialogs;
/*
 * (c) Copyright IBM Corp. 2000, 2001.
 * All Rights Reserved.
 */
import org.eclipse.swt.*;
import org.eclipse.swt.events.*;
import org.eclipse.swt.graphics.*;
import org.eclipse.swt.layout.*;
import org.eclipse.swt.widgets.*;
import org.eclipse.jface.resource.*;
/**
 * A dialog for showing messages to the user.
 * <p>
 * This concrete dialog class can be instantiated as is, 
 * or further subclassed as required.
 * </p>
 */
public class MessageDialog extends Dialog {
	
	/**
	 * 	Constant for a dialog with no image (value 0).