Sets the dialog’s image to image.
image
Use Dialog to create dialogs with images
a MessageDialog
the image