Target.java
/* 
 * program that utilizes knowledge from the blue dot program to create a sequence of dots that further 
 * create the image of a target 
 */
package npw;

import painter.SPainter;
import shapes.SCircle;

import javax.swing.*;
import java.awt.*;

public class Target {

    private void paintTheImage(){
        SPainter klee = new SPainter("Target",800,800);
        SCircle redDot = new SCircle(300);
        klee.setColor(Color.RED);
        klee.paint(redDot);
        SCircle whiteDot = new SCircle(200);
        klee.setColor(Color.WHITE);
        klee.paint(whiteDot);
        SCircle lilRedDot = new SCircle(100);
        klee.setColor(Color.RED);
        klee.paint(lilRedDot);


    }


    public Target(){
        paintTheImage();
    }
    public static void main(String[] args){
        SwingUtilities.invokeLater(new Runnable(){
            public void run() {
                new Target();
            }
        });
    }
}