import java.awt.*; import java.applet.Applet; public class Joonis2a extends Applet{ public void paint(Graphics g){ g.setColor(new Color(200, 100, 100)); g.fillOval(10, 60, 30, 30); g.setColor(Color.black); g.drawOval(10, 60, 30, 30); g.drawLine(25, 90, 25, 150); g.drawLine(25, 100, 5, 110); g.drawLine(25, 100, 45, 110); g.drawLine(25, 150, 15, 230); g.drawLine(25, 160, 35, 230); } public static void main(String argumendid[]){ Frame f=new Frame("Kriipsujuku"); f.setSize(100, 250); f.add(new Joonis2a()); f.setVisible(true); } }