![]()
Archery Applet Source & Psuedo Code![]()

//Keith Adams, September 6, 2000
//This program is an applet that
//will display my first and last
//name, draw three colored concentric
//rings, and display the scoring
//values for each ring.
import java.awt.*;
import java.applet.Applet;
public class Archery extends Applet
{
public void paint (Graphics window)
{
window.drawString("Keith Adams",200,40);
window.setColor(Color.blue);
window.fillOval(100,100,600,600);
window.setColor(Color.green);
window.fillOval(200,200,400,400);
window.setColor(Color.red);
window.fillOval(300,300,200,200);
window.setColor(Color.white);
window.drawString("50 Points",350,125);
window.drawString("100 Points",350,225);
window.drawString("200 Points",350,400);
}
}
Psuedo Code
Write my name
set color to blue
draw largest circle
set color to green
draw medium circle
set color to red
draw smallest circle
set color to white
write point value for largest circle (50 Points)
write point value for medium circle (100 Points)
write point value for smallest circle (200 Points)