[Solved]Pls check why my code is giving a runtime error
My code compiles ok, but I get errors during runtime. I already spent hours on it but can't seem to figure out why. It is an animation. At first the code ran ok, but there was flickering so I tried to remove it, but when I tried to follow isntructions and remove the flickering of the animation, it gave runtime errors.
Here is WORKING CODE of the animation but with flicker:
Java | import java.awt.*; import jav - Anonymous - 5VwLgwrx - Pastebin.com
Here is code with RUNTIME ERRORS, with attempts to remove flicker:
Java | import java.awt.*; import jav - Anonymous - Fix4t20V - Pastebin.com
EDIT: eclipse said that errors were coming from the update() and paint() methods