I have an paneel.java file wich looks like the following code:
import java.awt.*; import javax.swing.*; public class Paneel extends JFrame { public stat
create package named as images on your project file and import image in that perticular package. Now, take a lable and select the icon property and select image from class path.