This could be a Linux problem but some on the Linux list speculated that
it might be an underlying Sun problem.  If so, it seemed related to
Java2D.  Whenever I try to run the SwingSet demo using the JDK 1.2
Preview from Blackdown, I get the following error:

java SwingSet
  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
  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)
          at javax.swing.UIDefaults.getUIClass(Compiled Code)
          at javax.swing.UIDefaults.getUI(Compiled Code)
          at javax.swing.UIManager.getUI(Compiled Code)
          at javax.swing.JPanel.updateUI(Compiled Code)
          at javax.swing.JPanel.<init>(Compiled Code)
          at javax.swing.JPanel.<init>(Compiled Code)
          at javax.swing.JRootPane.createGlassPane(Compiled Code)
          at javax.swing.JRootPane.<init>(Compiled Code)
          at javax.swing.JFrame.createRootPane(Compiled Code)
          at javax.swing.JFrame.frameInit(Compiled Code)
          at javax.swing.JFrame.<init>(Compiled Code)
          at SwingSet.main(Compiled Code)


My computer is an IBM 300PL with an S3Trio3D card using the 32 bpp
XFree86 FrameBuffer driver.   I have been running my Swing applications
for a couple months using JDK1.1.7 and Swing 1.1 using this same
hardware.  I have posted it as a Linux bug already.  Does anyone have
any suggestions?

Cynthia Jeness

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

Reply via email to