import java.applet.Applet; import java.awt.*; public class TsykkelWhileRakend extends Applet{ public void paint(Graphics g){ int y=25; while(y<120){ g.drawString("nr: "+Math.random(), 15, y); y=y+20; } } }