Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Coderanch by Sandy Abraham, 1 year ago
Width (-1) and he ight (-1) cannot be <= 0
via Oracle Community by 843799, 1 year ago
Width (-1) and height (-1) cannot be <= 0
via Oracle Community by 843799, 1 year ago
Width (-1) and height (240) cannot be <= 0
via Stack Overflow by Christopher
, 2 weeks ago
Width (0) and height (0) cannot be <= 0
via Sakai JIRA by Andrea Bollini, 1 year ago
via Oracle Community by 843799, 1 year ago
Width (-1) and height (-1) cannot be <= 0
java.lang.IllegalArgumentException: Width (-1) and he
ight (-1) cannot be <= 0	at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:999)	at java.awt.image.BufferedImage.(BufferedImage.java:259)	at Joan$MyCanvas.(Joan.java:67)	at Joan.setupPanels(Joan.java:115)	at Joan.(Joan.java:92)	at Joan.main(Joan.java:100)