RedCross.java
package npw;

import java.awt.Color;
import javax.swing.SwingUtilities;
import painter.SPainter;
import shapes.SCircle;
import shapes.SRectangle;

public class RedCross {

    //THE SOLUTION TO THE BLUE DOT PROBLEM

    private void paintTheImage() {
        SPainter Dino = new SPainter("Red Cross", 600,600);
        SRectangle upward = new SRectangle(400, 100);
        Dino.setColor(Color.RED);
        Dino.paint(upward);
        SRectangle sideways = new SRectangle(100, 400);
        Dino.paint(sideways);
    }

    //Required Infrastructure

    public RedCross() {
        paintTheImage();
    }

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