title: How to draw a mouth for a Smiley Face in Java
body: <p>How do I get the mouth part of the smiley face? Do I use a polygon or oval...oval doesn't seem to make sense but I don't know? 
  here is my code:</p>
  
  <pre><code>import java.awt.Color;
  import java.awt.Canvas;
  import java.awt.Graphics;
  
  public class HappyFace extends Canvas {
  
      public HappyFace() {
  
          setBackground(Color.BLACK);
      }
  
      public void paint(Graphics window) {
  
          window.setColor(Color.YELLOW);
          window.fillOval(250, 150, 350, 320);
  
          window.setColor(Color.MAGENTA);
          window.fillOval(300, 220, 90, 100);
          window.fillOval(450, 220, 90, 100);
  
          window.setColor(Color.WHITE);
          window.drawOval(380, 320, 90, 100);
  
          window.setColor(Color.GREEN);
  
      }
  }
  </code></pre>