textArea.printAll(image.getGraphics());
// Grab appropriate pixels to get the color
PixelGrabber pixelGrabber = new PixelGrabber(image, 5, 5, 1, 1, pixels, 0, 1);
try {
pixelGrabber.grabPixels();
if (pixels[0] == -1) {
return Color.WHITE; // System background not customized
}
} catch (InterruptedException e) {
return getNonGTKProfilerResultsBackground();