Week 12
This week we made a stopwatch. Since last week was a clock I thought it would be appropriate to make a stopwatch.
These lines of code format the stop watch and set how it preforms.Here we set the fonts for start, stop, and resets , adds the buttons ,and some of the the code for the start stop and reset
so it listens to when those buttons are clicked and calls its method.
And lastly the methods that will execute when the buttons are pressed and properly carry out stop, reset, and start.
Pretty simple little project, that will be useful if I ever need a stopwatch. Now I don't need to look up google stopwatch or use my phone, I can just use my created one if its convenient.
Citations:
Java stopwatch ⏱️ - YouTube. (n.d.). Retrieved April 30, 2022, from https://www.youtube.com/watch?v=0cATENiMsBE



Comments
Post a Comment