| /home/ssingh6/NetBeansProjects/CS1/src/npw/BlueDot.java | 
 1 
 2 
 3 
 4 
 5 
 6 package npw;
 7 import java.awt.Color;
 8 import javax.swing.SwingUtilities;
 9 import painter.SPainter;
10 import shapes.SCircle;
11 
12 
13 
14 @author 
15  
16 
17 
18 public class BlueDot {
19 
20     
21 @param     
22      
23     private void paintTheImage()
24     {
25         SPainter klee= new SPainter("Blue Dot",600,600);
26         SCircle dot= new SCircle(200);
27         klee.setColor(Color.BLUE);
28         klee.paint(dot);
29     }
30     public BlueDot()
31     {
32         paintTheImage();
33     }
34     public static void main(String[]args)
35     {
36         SwingUtilities.invokeLater(new Runnable() {
37             public void run() {
38                 new BlueDot();
39             }
40         });
41     }
42 
43             
44 }
45                 
46                 
47     
48     
49 
50