Thanks for the kind welcome and I appreciate your help!
I added Thread.sleep and it does work. But I'm still not sure what it does, or even what the term Thread means. I think I have to spend some more time staring at this.
I just completed my first programming class during the summer. We worked with GUI a bit in the end, and the teacher mentioned that you can add a timer to the GUI program, but we never really dove into it. So I've been looking up various tutorial to try to implement it.
I've seen javax.swing.Timer and java.util.Timer in the suggestion while I was coding, but wasn't sure what the difference was. The program I'm trying to make does work with GUI. I want the countdown timer that starts at 15, and when they click the button, it resets back to 15 and repeats.
This was the tutorial I was trying to emulate in a simpler form to just make the console yell out the number:
https://www.youtube.com/watch?v=gs5aMzlLLts
I was able to get most of what he was doing, but the timer class still confuses me. It looks like I still have a lot more reading to do.