import java.awt.*; import java.applet.*; public class LisaaLaskuri extends Applet { public void paint(Graphics g) { int luku = 1000; g.drawString("Laskurin alkuarvo: " + luku, 5, 10); luku++; g.drawString("Laskurin loppuarvo: " + luku, 5, 25); } }