void (@NotNull Graphics2D g, int x, int y, int width, int height, Object object) { if (width > 0 && height > 0) { if (myImage == null || width != ImageUtil.getUserWidth(myImage) || height != ImageUtil.getUserHeight(myImage)) { myImage = createImage(width, height); } else if (myImage != null) { updateImage(myImage); } if (myImage != null) { StartupUiUtil.drawImage(g, myImage, null, x, y); } } }