timer differences across different computers

I have constructed a timer:

Timer timer =new Timer(1,this);

and it works fine on most computers I have tried it on (they were all XP), but I am working on it on a new computer (vista 64-bit) and the timer goes way too fast so that i had to make the speed 15. Is this normal or is there something I can do to help this without making two versions of the program?

[447 byte] By [randomballoona] at [2007-11-27 7:51:25]
# 1

Most likely your XP box can't respond in 1ms, but your other box can. The XP box is probably responding in closer to 10 ms, which tends to be the clock resoultion on most PCs. I bet on the old computer, if you try 10 or 15, you won't really see a slowdown.

But creating a new timer every 1 or 15 ms. sounds wrong.

jverda at 2007-7-12 19:32:32 > top of Java-index,Java Essentials,New To Java...