B@ron - 2004-04-09

When I try to use a JSpinner with the liquid look and feel Raster.java throws this Exception:

java.awt.image.RasterFormatException: negative or zero widtha t java.awt.image.Raster.<init>(Unknown Source)

    at java.awt.image.WritableRaster.<init>(Unknown Source)

    at sun.awt.image.SunWritableRaster.<init>(Unknown Source)

    at sun.awt.image.IntegerComponentRaster.<init>(Unknown Source)

    at sun.awt.image.IntegerInterleavedRaster.<init>(Unknown Source)

    at sun.awt.image.IntegerInterleavedRaster.createWritableChild(Unknown Source)

    at java.awt.image.BufferedImage.getSubimage(Unknown Source)

    at sun.java2d.pipe.DrawImage.scaleBufferedImage(Unknown Source)

    at sun.java2d.pipe.DrawImage.scaleImage(Unknown Source)

    at sun.java2d.pipe.DrawImage.scaleImage(Unknown Source)

    at sun.java2d.SunGraphics2D.drawImage(Unknown Source)

    at sun.awt.image.ImageRepresentation.drawToBufImage(Unknown Source)

    at sun.java2d.pipe.DrawImage.scaleImage(Unknown Source)

    at sun.java2d.SunGraphics2D.drawImage(Unknown Source)

    at sun.java2d.SunGraphics2D.drawImage(Unknown Source)

    at com.birosoft.liquid.skin.Skin.draw(Skin.java:128)

    at com.birosoft.liquid.LiquidSpinnerButtonUI.paint(LiquidSpinnerButtonUI.java:69)

    at com.birosoft.liquid.LiquidButtonUI.update(LiquidButtonUI.java:164)

    at javax.swing.JComponent.paintComponent(Unknown Source)

    at javax.swing.JComponent.paint(Unknown Source)

    at javax.swing.JComponent.paintChildren(Unknown Source)

    at javax.swing.JComponent.paint(Unknown Source)

    at javax.swing.JComponent.paintChildren(Unknown Source)

    at javax.swing.JComponent.paint(Unknown Source)

    at javax.swing.JComponent.paintChildren(Unknown Source)

    at javax.swing.JComponent.paint(Unknown Source)

    at javax.swing.JComponent.paintChildren(Unknown Source)

    at javax.swing.JComponent.paint(Unknown Source)

    at javax.swing.JViewport.paint(Unknown Source)

    at javax.swing.JComponent.paintChildren(Unknown Source)

    at javax.swing.JComponent.paint(Unknown Source)

    at javax.swing.JComponent.paintChildren(Unknown Source)

    at javax.swing.JComponent.paint(Unknown Source)

    at javax.swing.JComponent.paintChildren(Unknown Source)

    at javax.swing.JComponent.paint(Unknown Source)

    at javax.swing.JComponent.paintWithOffscreenBuffer(Unknown Source)

    at javax.swing.JComponent.paintDoubleBuffered(Unknown Source)

    at javax.swing.JComponent._paintImmediately(Unknown Source)

    at javax.swing.JComponent.paintImmediately(Unknown Source)

    at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)

    at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)

    at java.awt.event.InvocationEvent.dispatch(Unknown Source)

    at java.awt.EventQueue.dispatchEvent(Unknown Source)

    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

    at java.awt.EventDispatchThread.run(Unknown Source)

Always Occurs.
Sincerely yours,
B@ron {EU.BELGIUM}