// Allison Obourn
// CS& 141, Autumn 2021
// Lecture 1

// Draws a black oval with a red rectangle on top and an outline of a blue 
// rectangle to the right

import java.awt.*;

public class DrawingExample {
   public static void main(String[] args) {
      DrawingPanel panel = new DrawingPanel(300, 500);
      Graphics g = panel.getGraphics();
      
      g.fillOval(0, 0, 100, 50);
      g.setColor(Color.RED);
      g.fillRect(20, 10, 40, 50);
      g.setColor(Color.BLUE);
      g.drawRect(100, 30, 40, 50);

   }
}