boolean (VolatileImage image, Component component) { GraphicsConfiguration componentConfig = component.getGraphicsConfiguration(); if (SystemInfo.isWindows && image instanceof SunVolatileImage) { // JBR-1540 GraphicsConfiguration imageConfig = ((SunVolatileImage)image).getGraphicsConfig(); if (imageConfig != null && componentConfig != null && imageConfig.getDevice() != componentConfig.getDevice()) return false; } return image.validate(componentConfig) != VolatileImage.IMAGE_INCOMPATIBLE; }