why i cant use my image?
in
Programming Questions
•
10 months ago
hi there,i'm new with processing and i got a problem when i'm trying to upload/use an image. when i try to use the image i get a grey screen what i cant close with the x button, and i get this text: (19 is the image)
Could not find a method to load 19
Exception in thread "Animation Thread" java.lang.NullPointerException
at processing.core.PGraphics.image(PGraphics.java:3440)
at processing.core.PApplet.image(PApplet.java:11658)
at eerste_kreatie.draw(eerste_kreatie.java:40)
at processing.core.PApplet.handleDraw(PApplet.java:2128)
at processing.core.PGraphicsJava2D.requestDraw(PGraphicsJava2D.java:190)
at processing.core.PApplet.run(PApplet.java:2006)
at java.lang.Thread.run(Thread.java:662)
i dont know what to do.
can you help me please?
1