Displays the given error message in a new of the given width. If close is true then an additional close button is added to the window. The optional icon specifies the icon to be used for the window. Default is Utils#errorImage.
String specifying the message to be displayed.
Integer specifying the width of the window.
Optional boolean indicating whether to add a close button.
Optional icon for the window decoration.
Displays the given error message in a new of the given width.
If close is true then an additional close button is added to the window.
The optional icon specifies the icon to be used for the window. Default
is Utils#errorImage.