Question: I have a JLabel in my GUI for java and the label is called lblFirstlabelsimon .WHEN DOING THIS EXPLAIN WHAT EACH STEP IS AND WHAT
I have a JLabel in my GUI for java and the label is called lblFirstlabelsimon .WHEN DOING THIS EXPLAIN WHAT EACH STEP IS AND WHAT IT IS DOING.How could I set the label to a timer that changes the background for it for 2 seconds with a certain color, then after the 2 seconds have it go back to the origonal color. I was told by my teacher there is a way i can do this. What would be the code for a label called lblFirstlabelsimon? that is set up to a 2 second timer and will change the background color during that 2 seconds to a certain color, then after the 2 seconds have it go back to the origonal color..
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
