Finish the provided basketball scoreboard program by creating a thread class to run the scoreboard timer and integrate that timer with the provided GUI. Your timer should have a toggle method to turn itself on and off. It should have a run method that decrements a counter when the clock is running (after waiting one second) and does nothing when the clock is not running. The run thread should update the timer display by converting the counter to MM:SS format. The clock should discontinue running…
