title: java.util.Timer - inconsistent speed between events?
body: <p>I am using java.util.timer for a game that I am programming to increment the location of a JLabel but it usually goes much slower than I need it to. Sometimes it goes the correct speed but then for no reason the next time I execute the program it will be slow again. I used the following code for the timer.</p>
  
  <pre><code>java.util.Timer bulletTimer= new java.util.Timer();
  bulletTimer.schedule(new bulletTimerTask(), 0, 2);
  </code></pre>
  
  <p>I also tried javax.swing.timer and had the same problem. Any help would be appreciated.</p>
  
  <p>edit: it works fine with another timer where I set the delay to 2000 ms</p>