BalloonFamilyTester.java
1    package balloonpeople;
2    
3    import painter.SPainter;
4    
5    import javax.swing.SwingUtilities;
6    
7    public class BalloonFamilyTester {
8    
9    
10       public BalloonFamilyTester() {
11           // Create some BalloonPerson instances to test with!
12           SPainter paintBrush = new SPainter("Balloon People", 1920, 1080);
13   
14           BalloonFamily family = new BalloonFamily(3);
15           family.paint(paintBrush);
16           System.out.println(family);
17   
18       }
19   
20       public static void main(String[] args) {
21           SwingUtilities.invokeLater(() -> {
22               new BalloonFamilyTester();
23           });
24       }
25   }