public class Voorbeeld3b extends java.applet.Applet { public void paint(Graphics g) { int i, m=50,n=50,mold=50, nold=50; for (i=0; i<15; i=i+1) { m=m+3; n=n+2*i; g.drawLine(mold,nold, m,n); mold=m; nold=n; } } }
You see some lines are drawing - within 200 x 300 pixels. See the height and the width in the html-source-code.
Enschede, 2000; updated March, 2003.