@@ -0,0 +1,380 @@
+package snake;%0A%0Aimport java.awt.image.BufferedImage;%0Aimport java.io.File;%0Aimport java.io.IOException;%0A%0Aimport javax.imageio.ImageIO;%0A%0Apublic class ImageUtils %7B%0A  public static BufferedImage loadImage(String url) %7B%0A    BufferedImage img = null;%0A    try %7B%0A      img = ImageIO.read(new File(url));%0A    %7D catch (IOException e) %7B%0A      e.printStackTrace();%0A    %7D%0A    return img;%0A  %7D%0A%7D%0A

Add ImageUtils class