import java.awt.*; import java.applet.*; public class YksinkertaistaGrafiikkaa extends Applet { public void paint(Graphics g) { g.drawRect(25, 25, 50, 50); g.drawOval(75, 100, 100, 150); g.fillRect(250, 25, 100, 25); g.fillOval(205, 125, 100, 100); } }