Script for blinking slow

I’d like to blink slowly my letter “F” using a script…I don’t want to use blink box…I’m looking for a script to blink box


I suggest writing a script on the actionPerformed event on the Timer component. Check out the documentation for the Timer component:

You can assign colors in a script by importing and making colors like this:

import java.awt from Color
black = Color(0,0,0)

To make it blink perhaps check if the value property of the Timer component is odd and use one color and if it is even then use a different color.