equal
deleted
inserted
replaced
454 // for this component in order to calculate a pixel value from |
454 // for this component in order to calculate a pixel value from |
455 // the given RGB value. |
455 // the given RGB value. |
456 ColorModel cm = getColorModel(); |
456 ColorModel cm = getColorModel(); |
457 int pixel = PixelConverter.instance.rgbToPixel(c.getRGB(), cm); |
457 int pixel = PixelConverter.instance.rgbToPixel(c.getRGB(), cm); |
458 XlibWrapper.XSetWindowBackground(XToolkit.getDisplay(), getContentWindow(), pixel); |
458 XlibWrapper.XSetWindowBackground(XToolkit.getDisplay(), getContentWindow(), pixel); |
|
459 XlibWrapper.XClearWindow(XToolkit.getDisplay(), getContentWindow()); |
459 } |
460 } |
460 finally { |
461 finally { |
461 XToolkit.awtUnlock(); |
462 XToolkit.awtUnlock(); |
462 } |
463 } |
463 } |
464 } |