Follow these two steps. Worked well for me at Eclipse Kepler.
Bring an image or other resource files to a Java project
I am. Mouse right-click on your Java-project and run: New -> Source Folder. In this example, I call my "res" folder.
II. Go to the file browser and you will see this "res" folder in the root folder of the Java project. Now copy or move the image and other resource files into it.
III. Eclipse "res" : Refresh. .
IV. , , "bin" .
(, JFrame, this ) "/" :
Image img = new ImageIcon(this.getClass().getResource("/MyImage.gif")).getImage();
: . "bin" . , , "Runnable Jar File", , jar.