Implemented a javax.swing.Timer for the countdown.