import java.awt.*; public class tk extends java.applet.Applet{ Button b = new Button("Nupp"); TextField t = new TextField(5); Image km; public void init(){ add(b); add(t); km=getImage(getDocumentBase(), "km.gif"); } public void paint(Graphics g){ g.drawImage(km, 0, 0, this); } }