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