BalloonPersonTester.java
1    package balloonpeople;
2    
3    import painter.SPainter;
4    
5    import javax.swing.*;
6    
7        public class BalloonPersonTester {
8    
9            public BalloonPersonTester(){
10               BalloonPerson egg = new BalloonPerson("egg", 166, 20);
11               SPainter miro = new SPainter("Balloon Person: Egg", 300, 300 );
12               egg.paint(miro);
13               System.out.println(egg);
14           }
15   
16           public static void main(String[] args) {
17               SwingUtilities.invokeLater(new Runnable() {
18                   public void run() {
19                       new BalloonPersonTester();
20                   }
21               });
22           }
23       }
24   
25