When you call getResource, you are looking for a file relative to the class itself. To find a file using an absolute path, use ImageIO.read(//path to file). This however can make your application...