The static method #showDialog() is used to create and display the DetailsDialog.
This brings up a modal dialog with a default icon provided by the current look and feel.
The type of icon is based on the dialog type which can be DetailsDialog.INFO_TYPE,
DetailsDialog.WARNING_TYPE, DetailsDialog.ERROR_TYPE or DetailsDialog.UNKNOWN_TYPE. By using
a null value for the title also a localized, default title based on the dialog type appears.
All relevant lines are highlighted. Press the "Run..."
button to start the example.