My assignment is to change my program that animates race cars using a timer based on speed entered into text fields, to a program that uses threads to control the animation.
This is the problem I'm having: I do not fully understand how threads are implemented into code and where, but my program only works for two cars - sometimes one. Also, in the console I get NullException errors.
I would like to know how to properly code Java using threads to control the animation.