diff options
Diffstat (limited to 'libjava/gnu/awt/xlib/XCanvasPeer.java')
-rw-r--r-- | libjava/gnu/awt/xlib/XCanvasPeer.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libjava/gnu/awt/xlib/XCanvasPeer.java b/libjava/gnu/awt/xlib/XCanvasPeer.java index d8a00db..5daee59 100644 --- a/libjava/gnu/awt/xlib/XCanvasPeer.java +++ b/libjava/gnu/awt/xlib/XCanvasPeer.java @@ -210,11 +210,11 @@ public class XCanvasPeer implements CanvasPeer } public Image createImage(ImageProducer prod) { - throw new UnsupportedOperationException("FIXME, not implemented"); + return new XOffScreenImage (config, window, prod, config.getColorModel()); } public Image createImage(int width, int height) { - return new XOffScreenImage (config, window, width, height); + return new XOffScreenImage (config, window, width, height, config.getColorModel()); } public void dispose() { |