I'm making a game where you fight a stick guy, and I'm already having errors trying to paint the background image.
Here is my code: (I'm actually the worst with these code block things, it's not pasting right for some reason, here's a pastebin: http://pastebin.com/PcYYsQVY )
And here is the error I'm getting:
javax.imageio.IIOException: Can't read input file!
at javax.imageio.ImageIO.read(Unknown Source)
at me.Joey402.StickFrame.main(StickFrame.java:21)
Before when working with applets on a different project, the images were in the same spot as they were in this project and it was working, but in this project I'm getting this error for some reason.
Thanks in advance.