Exception in thread “AWT-EventQueue-0” java.lang.IllegalArgumentException: Width (0) and height (0) cannot be <= 0
at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel .java:1016)
at java.awt.GraphicsConfiguration.createCompatibleImage(GraphicsConfiguration.java :186)
at sun.awt.image.SunVolatileImage.getBackupImage(SunVolatileImage.java:236)
at sun.awt.image.VolatileSurfaceManager.getBackupSurface(VolatileSurfaceManager.ja va:263)
at sun.awt.image.VolatileSurfaceManager.initialize(VolatileSurfaceManager.java:126 )
at sun.awt.image.SunVolatileImage.(SunVolatileImage.java:88)
at sun.awt.image.SunVolatileImage.(SunVolatileImage.java:117)
at java.awt.GraphicsConfiguration.createCompatibleVolatileImage(GraphicsConfigurat ion.java:307)
at java.awt.GraphicsConfiguration.createCompatibleVolatileImage(GraphicsConfigurat ion.java:241)
at sun.awt.windows.TranslucentWindowPainter$VIWindowPainter.getBackBuffer(Transluc entWindowPainter.java:271)
at sun.awt.windows.WWindowPeer.getTranslucentGraphics(WWindowPeer.java:627)
at sun.awt.windows.WComponentPeer.getGraphics(WComponentPeer.java:582)
at java.awt.Component.getGraphics(Component.java:3033)
at sun.awt.RepaintArea.paint(RepaintArea.java:227)
at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:358)
at java.awt.Component.dispatchEventImpl(Component.java:4957)
at java.awt.Container.dispatchEventImpl(Container.java:2292)
at java.awt.Window.dispatchEventImpl(Window.java:2739)
at java.awt.Component.dispatchEvent(Component.java:4703)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:746)
at java.awt.EventQueue.access$400(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:697)
at java.awt.EventQueue$3.run(EventQueue.java:691)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java: 75)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java: 86)
at java.awt.EventQueue$4.run(EventQueue.java:719)
at java.awt.EventQueue$4.run(EventQueue.java:717)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java: 75)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:716)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:20 1)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:10 5)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)