>  Error loading L&F: java.lang.IllegalArgumentException: Raster
>  IntegerInterleavedRaster: width = 64 height = 64 #Bands = 3
>#DataElements 1 xOff
>  = 0 yOff = 0 dataOffset[0] 0 is incompatible with ColorModel
>DirectColorModel:
>  rmask=ff0000 gmask=ff00 bmask=ff amask=0

It looks like the IllegalArgumentException comes from a BufferedImage
constructor:

    public BufferedImage (ColorModel cm,
                          WritableRaster raster,
                          boolean isRasterPremultiplied,
                          Hashtable properties)

This constructor calls cm.isCompatibleRaster(raster), which must be
returning false.  The code in DirectColorModel.isCompatibleRaster(Raster)
looks OK to me, so possibly the Linux port has somehow constructed
an IntegerInterleavedRaster or a DirectColorModel with inconsistent
arguments when running on your framebuffer.  We've certainly run SwingSet
on 32 bpp cards and haven't seen this.  Without more detail on the
IntegerInterleavedRaster and DirectColorModel than is printed out in
the error message, I can't tell for sure why isCompatibleRaster() is
failing.

Jerry

=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 2D Home Page: http://java.sun.com/products/java-media/2D/

Reply via email to