Java Swing - GUIs
TOPIC 05 – TIMERS

 

LESSON WORK

 

Create a simple GUI that that has two text fields.  One hold the minutes that have elapsed and the other holds the seconds that have elapsed. They both are started at 0.

 

After 5 seconds, they should hold the values 0 and 5.

After 45 seconds, they should hold the values 0 and 45.

After 60 seconds, they should hold the values 1 and 0.

After 90 seconds, they should hold the values 1 and 30.