In an earlier question we showed how to make a single tab flash. Since then many people have asked if it is possible to have more than one tab flashing.

To support multiple flashing tabs we need to refactor the original code a little to allow for a separate Timer for each tab that is flashing. This can achieved by moving the timer and flashing colour details into the listener as shown in the following code.