On Mon, 2005-11-14 at 00:13 +0100, Mark Wielaard wrote: > 2005-11-13 Mark Wielaard <[EMAIL PROTECTED]> > > As suggested by Joao Victor <[EMAIL PROTECTED]>: > * javax/swing/Timer.java (Waker): Removed class. > (Task): New class. > (timer): New field. > (running): Removed field. > (waker): Likewise. > (task): New field. > (isRunning): Check whether task is null. > (start): Create task and schedule it with timer. > (stop): Cancel task and clear field. > (queueEvent): Synchronized on queueLock. > > It would be appreciated if someone could try out this patch and see if > it works as expected. Mauve tests all pass and the programs that I > tested seem to work as expected.
Tested against the new JProgressBar Demo and it seems to work nicely. It now uses just one util.Timer for everything instead of starting multiple Threads for this. Committed. Cheers, Mark
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Classpath-patches mailing list [email protected] http://lists.gnu.org/mailman/listinfo/classpath-patches
