public void paint(Graphics g) { Image img; img = getToolkit().getImage("Bild.jpg"); g.drawImage(img,20,50,this); validate();}