I am following the zetcode Snake java games tutorial and always get this error:
ImageIcon iid = new ImageIcon(this.getClass().getResource(\"ball.png\")); bal
You may need to add the file to your build resources, something like this:
path\to\resources ball.png