This program adds a JButton object
Figure 2 shows the output image after you click the button ten times.