Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #3935 > unrolled thread

Re: Problem with Swing Ti

Started by"Larry A Barowski" <larry.a.barowski@THRWHITE.remove-dii-this>
First post2011-04-27 15:47 +0000
Last post2011-04-27 15:47 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.java.gui

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Problem with Swing Ti "Larry A Barowski" <larry.a.barowski@THRWHITE.remove-dii-this> - 2011-04-27 15:47 +0000

#3935 — Re: Problem with Swing Ti

From"Larry A Barowski" <larry.a.barowski@THRWHITE.remove-dii-this>
Date2011-04-27 15:47 +0000
SubjectRe: Problem with Swing Ti
Message-ID<BtSdnenTB9N6JgDVnZ2dnUVZ_i2dnZ2d@comcast.com>
  To: comp.lang.java.gui

<ifarberov@lsplab.com> wrote in message 
news:3f05236e-f599-41ec-9ac9-2ff561d6b7b9@s50g2000hsb.googlegroups.com...
> After reading some of the above suggestions I have developed a new
> theory of what may be going on.  It seems that if a computer clock is
> adjusted backwards while swing timer is used, the timer stops firing
> action events.  And as a matter of fact my program does speed up
> system clock.  Once in a while the computer clock in syncronized with
> the network clock, which may push my computer clock back.

Just write your own timer and timer queue classes using
nanoTime() and the nano version of wait().

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

[toc] | [standalone]


Back to top | Article view | comp.lang.java.gui


csiph-web