I am trying to load an image as part of my platformer, but it cant seam to find the image, I put it into the default package, which is the same as the class
public BufferedImage loadImage() {
try {
BufferedImage img = ImageIO.read(new File("level.jpg"));
System.out.println("Level Found!");
return img;
} catch (IOException e) {
System.out.println("Level Missing!");
return null;
}
}