/* *Program to paint the target logo in the context of the Nonrepresentational Painting World, NPW. */ package npw; import java.awt.Color; import javax.swing.SwingUtilities; import painter.SPainter; import shapes.SCircle; public class Target { private void paintTheImage(){ SPainter klee = new SPainter("Target",600,600); SCircle dot = new SCircle(200); klee.setColor(Color.red); klee.paint(dot); dot = new SCircle(133); klee.setColor(Color.white); klee.paint(dot); dot = new SCircle(66); klee.setColor(Color.red); klee.paint(dot); } //REQUIRED INFASTRUCTURE public Target() { paintTheImage(); } public static void main(String[] args) { SwingUtilities.invokeLater(new Runnable() { public void run() { new Target(); } }); } }