import java.awt.*; public class too extends Frame{ public too(){ setTitle("too"); setSize(500, 250); setVisible(true); } public void paint(Graphics g){ g.setColor(Color.black); g.drawLine(18, 90, 18, 50); g.drawLine(18, 50, 5, 75); g.setColor(Color.red); g.drawOval(18,100,10,10); g.drawLine(30,100,16,120); g.drawLine(16,120,35,120); g.setColor(Color.black); g.drawLine(18, 130, 30, 130); g.drawLine(30,130,20,145); g.drawOval(20,140,15,15); g.setColor(Color.red); g.drawLine(45, 150, 25, 165); g.drawLine(25, 165, 45, 165); g.drawLine(45, 165, 40, 180); g.setColor(Color.black); g.drawLine(45, 50, 70, 50); g.drawLine(45, 50, 45, 70); g.drawOval(40,70,25,25); g.setColor(Color.red); g.drawOval(70, 70, 20, 20); g.drawLine(75, 70, 90, 50); g.setColor(Color.black); g.drawLine(110, 50, 130, 50); g.drawLine(130, 50, 110, 80); g.setColor(Color.red); g.drawOval(130, 50, 20, 20); g.drawOval(130, 70, 30, 30); g.setColor(Color.black); g.drawOval(170, 50, 20, 20); g.drawLine(190, 60, 180, 90); g.setColor(Color.red); g.drawLine(210, 80, 210, 100); g.drawLine(195, 90, 210, 80); g.drawOval(220,80,20,20); } public static void main(String argumendid[]){ new too(); } }