Campbell Ritchie wrote:
Why have you marked that Map static?
I presume you are familiar with creating and using Timers?
I presume you realise there are three kinds of timer, java.util.Timer, javax.management.timer.timer and javax.swing.Timer?
You know you can miss out some of the actual type parameters in Java7?
It does seem slightly odd to put lots of Timers in a Map, though.
#1: My mistake on the static thing. Ignore that.
#2: I am reletively familiar with using Timers
#3: I should have specified that I was using the java.util.Timer
#4: I'm using
Java 6 for this.
#5: I'm only looking after maybe a dozen at best. The ability to cancel and reschedule them individually is the reason for so many of them.
Also, thank you for your help!