This is my hopper which hops in 1 second intervals. I can call 5 1 second hops with fiveHops() and it will
function fine the first time.
However the second time I call fiveHops() it has an java.lang.IllegalThreadStateException
for timing reasons I don't want to call hopper = new Hopper() each time I call fiveHops()
How can the hopper object be reset in sufficient manner to stop calling this exception??
is a
Thread object meant to always be used once and then discarded??