[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] Re: Add JSpinner and friends added
From: |
Ka-Hing Cheung |
Subject: |
[cp-patches] Re: Add JSpinner and friends added |
Date: |
Sun, 22 Aug 2004 15:59:25 -0700 |
On Sat, 2004-08-14 at 15:15, Mark Wielaard wrote:
> Sorry, Ka-Hing, I still haven't looked at the Timer patch.
>
Okay, here's the Timer patch as promised (only about 2 weeks late! I am
getting better).
This is more or less the same as the last one I sent in, except that
this one behaves more correctly when it's started/stopped really quick.
It also lets the thread die when there's no timer running. Although it
seems like SwingUtilities.invokeLater creates the event dispatch thread,
but the thread keeps running even though no Swing component is ever
created. So if I create a javax.swing.Timer and no Swing components,
the program will never terminate. This is with gcj, I have no tried
other VMs, but I suspect they would be the same.
-khc
timer.diff
Description: Text Data