void (Component c, Graphics g, int x, int y) { if (ImageUtil.getImageScale(myImage) != JBUIScale.sysScale((Graphics2D)g)) { myImage = createImage(null, (Graphics2D)g); } StartupUiUtil.drawImage(g, myImage, x, y, null); }