BlueDot.java
/* 
 *program to paint a blue dot in the context of the non representational painting world, npw 
 * 
 */
package npw;

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


public class BlueDot {
    //solution to bluedot problem
    private void paintTheImage(){
        SPainter klee = new SPainter("Blue Dot" , 600 , 600);
        SCircle dot = new SCircle(200);
        klee.setColor(Color.BLUE);
        klee.paint(dot);
    }

    //required infrastructure
    public BlueDot(){
        paintTheImage();
    }

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