[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Nasty problem in javax.swing.Timer.restart()

From: Joao Victor
Subject: Re: Nasty problem in javax.swing.Timer.restart()
Date: Thu, 10 Nov 2005 23:19:13 -0200

Sorry, just saw there's no shared thing, had got things a little mixed up.


2005/11/10, Joao Victor <address@hidden>:
> Yes... but doesn't util.Timer already use a single thread? If so, then
> i think it would be correct for each component to instantiate a
> swing.Timer - as long as that timer, "inside", is using a single
> thread at its back-end.
> I also think that, at Sun's docs, the swing.Timer doesn't have a
> sharedInstance() method, which i suppose it means it shouldn't be a
> singleton.
> Cheers,
> J.V.
> 2005/11/10, David Daney <address@hidden>:
> > The documentation in Sun's jdk strongly implies that all
> > javax.swingTimers  share a single thread.  Any implementation that does
> > not do this should be viewed with a great deal of suspicion.
> >
> > David Daney.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]