I tested this code in order to create dialog with image.
final int xSize = 400; final int ySize = 280; final Color backgroundColor = Color.WHITE; final Strin
This functions:
Image image = new Image(getClass() .getResourceAsStream("ChimpHumanHand.jpg"));