• Post Reply Bookmark Topic Watch Topic
  • New Topic

Don't rely on Swing timers? And concurrency Issues  RSS feed

 
Tony Docherty
Bartender
Posts: 3264
81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No problem.

BTW a comment you made earlier about it running faster troubled me and I've just had a thought - are you inserting a delay to allow for the gap between each word, if not it will get progressively faster?
Also your initial word timing code needs to be checked because you could be getting cumulative errors here unless all your times are relative to a fixed point.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!