. CS1 BlueDot.java
BlueDot.java
/* 
 *Program rto paint a blue dot in the context of the nonrepresentational 
 * Painting world, NPW. 
 */


package npw;

import painter.SPainter;
import shapes.SCircle;

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

public class BlueDot {
    private  void paintTheImage() {
        SPainter Klee = new SPainter("Blue Dot",600,600);
        SCircle dot = new SCircle(200);
        Klee.setColor(Color.BLUE);
        Klee.paint(dot);

    }
    // requesred infrastructure

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

}