I'm trying to use the timer class to repeat an action after a fixed amount of time, but I can't even get it to print the message once, as I keep getting the error. "exception in thread "Timer-0" java.lang.IllegalStateException: Task already scheduled or cancelled
Last edited: