import java.awt.*; import java.applet.*; public class MinApplet extends Applet { public void paint(Graphics g) { // Herunder referer g til et Graphics-objekt man kan tegne med. g.drawLine(10,10,50,70); g.fillOval(5,5,300,50); g.setColor(Color.green); g.drawString("Hej grafiske verden!",100,30); } }