/* *program to paint a blue dot in the context of the nonpresentational *painting worl,NPW */ package npw; import javax.swing.SwingUtilities; import painter.SPainter; import shapes.SCircle; import java.awt.Color; public class BlueDot { //the solution to the blue dot problem private void paintTheImange(){ SPainter klee = new SPainter("Blue dot",600,600); SCircle dot = new SCircle(200); klee.setColor(Color.blue); klee.paint(dot); } //requied infrastructure public BlueDot(){ paintTheImange(); } public static void main(String[] args){ SwingUtilities.invokeLater(new Runnable(){ public void run(){ new BlueDot(); } }); } }