Following that, the actionPerformed method
Figure 3 shows an example of a green background and red text.
(Note that the color of the name was sharper on the original than on the reproduction in Figure 3.)