I\'m following this tutorial for java swing games: http://zetcode.com/tutorials/javagamestutorial/movingsprites/
At this point:
ImageIcon ii = new Im
In your src folder, create a folder called "images" or "files" then put the image in there.
Then use this:
ImageIcon(this.getClass().getResource("/images/filename.png"));
If that doesn't work, try this:
ImageIcon(this.getClass().getResource("images/filename.png"));