java.lang.IllegalArgumentException: Width (1) and height (0) cannot be <= 0,页面上用Applet显示一个ProcessBar,还会有什么原因?
lwd2k 2004-09-09 06:54:20 at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknown Source)
at java.awt.image.BufferedImage.<init>(Unknown Source)
at sun.awt.windows.WComponentPeer.print(Unknown Source)
at sun.awt.windows.WCanvasPeer.print(Unknown Source)
at sun.awt.windows.WPanelPeer.print(Unknown Source)
at java.awt.GraphicsCallback$PeerPrintCallback.run(Unknown Source)
at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)
at java.awt.Component.printAll(Unknown Source)
at java.awt.GraphicsCallback$PrintAllCallback.run(Unknown Source)
at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)
at sun.awt.SunGraphicsCallback.runComponents(Unknown Source)
at java.awt.Container.printComponents(Unknown Source)