Target.java
/* 
*I will be painting a Target symbol. 
 */
package npw;

import painter.SPainter;
import shapes.SCircle;
import javax.swing.*;
import java.awt.*;

public class Target {
        // THE SOLUTION TO THE TARGET PROBLEM
        private void paintTheImage(){
            SPainter klee = new SPainter("Target", 600,600);
            SCircle dot = new SCircle(240);
            klee.setColor(Color.RED);
            klee.paint(dot);
            dot.x2(); dot.s3();
            klee.setColor(Color.white);
            klee.paint(dot);
            dot.s2();
            klee.setColor(Color.RED);
            klee.paint(dot);
        }
        //REQUIRED INFRASTRUCTURE
        public Target(){
            paintTheImage();
        }
        public static void main(String[]args){
            SwingUtilities.invokeLater(new Runnable(){
                public void run(){
                    new npw.Target();
                }
            });
        }
    }