Hi

I changed my X11 colour depth to 32bit and now swing doesn't run.  I get
the following error message.

Couldn't use the cross-platform look and feel:
java.lang.IllegalArgumentException: Raster ShortInterleavedRaster: width
= 64 height = 64 #numDataElements 1 is incompatible with ColorModel
DirectColorModel: rmask=7c00 gmask=3e0 bmask=1f amask=0
Exception in thread "main" java.lang.NullPointerException
        at java.util.Hashtable.get(Compiled Code)
        at javax.swing.UIDefaults.get(Compiled Code)
        at javax.swing.MultiUIDefaults.get(Compiled Code)


Another program is less informative and just tells me that it can't find
the MetalLookAndFeel class.  At the moment I'll change back to what I
had before (it was either 16 or 24) where it worked.


Regards


Mark O'Donohue






Here is the XF86Config setting,


# The accelerated servers (S3, Mach32, Mach8, 8514, P9000, AGX, W32,
Mach64
# I128, and S3V)
Section "Screen"
    Driver      "accel"
    Device      "My Video Card"
    Monitor     "My Monitor"
    Subsection "Display"
        Depth       32
        Modes       "1024x768"
        ViewPort    0 0
        Virtual     1024 768
    EndSubsection
EndSection



----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to