package praktikum1; import java.applet.*; import java.awt.*; public class Karu extends Applet{ private static final long serialVersionUID = 1L; @Override public void paint(Graphics g){ g.drawOval(100, 100, 100, 200); g.drawOval(125, 50, 50, 50); } public static void main(String[] args) { Frame f=new Frame(); f.add(new Karu()); f.setSize(300, 400); f.setVisible(true); } }