Target.java
/* program to draw a target in the the context of the non representational 
 * painting world, NPW. 
 */
package npw;


import painter.SPainter;
import shapes.SCircle;

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

public class Target {
    //way to draw target
    private void paintTheImage(){
        SPainter klee = new SPainter("target",1000,1000);
        SCircle dot = new SCircle(400);
        klee.setColor(Color.red);
        klee.paint(dot);
        dot.s2();
        klee.setColor(Color.white);
        klee.paint(dot);
        dot.s2();
        klee.setColor(Color.red);
        klee.paint(dot);




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