// Created by David Bierbaum 9/6/2000 
// This program will print my name on the screen and display an archery target consisting of at least
// 3 concentric colored rings, complete with scoring values.

import java.awt.*;
import java.applet.Applet;
public class Target extends Applet
{
public void paint (Graphics surface)
{
// print name,title, and date on screen
surface.drawString("Archery Target",172,10);
surface.drawString("David Bierbaum",170,25);
surface.drawString("9/6/2000",175,40);
// set color to red
surface.setColor(Color.red);
// draw largest circle
surface.fillOval(100,100,220,220);
// set color to green
surface.setColor(Color.green);
// draw second circle
surface.fillOval(120,120,180,180);
// set color to yellow
surface.setColor(Color.yellow);
// draw third circle
surface.fillOval(140,140,140,140);
// set color to blue
surface.setColor(Color.blue);
// draw smallest circle
surface.fillOval(165,165,90,90);
// reset color
surface.setColor(Color.black);
// print scores
surface.drawString("10",105,205);
surface.drawString("20",125,205);
surface.drawString("30",145,205);
surface.drawString("40",200,205);
} // paint
} // class Target
