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
you need to set a file path to the image..something like this
final ImageIcon icon = new ImageIcon("C:\\Users\\you\\Desktop\\test.gif");