Project: Eclipse_Platform_UI
Bug 24157 [Dialogs] MessageDialog needs to setFocus on default button
Reported: 2002-09-26 14:25:16 | Status: closed fixed

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.

Files changed in fix:
bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/MessageDialog.java