Javax.swing timer repeats fine, but ActionListener doesn’t do anything

This example continually varies the saturation of a panel’s background color: import java.awt.*; import java.awt.event.*; import java.awt.event.ActionListener; import java.util.LinkedList; import java.util.Queue; import javax.swing.*; public class FlashTest extends JPanel { private static final Font font = new Font(“Serif”, Font.PLAIN, 32); private static final String s = “Godzilla alert!”; FlashTest() { this.setPreferredSize(new Dimension(256, 96)); this.setBackground(Color.red); Timer t … Read more