Jeremy Sanders wrote:
> [EMAIL PROTECTED] wrote:
>
> > It works as I want when used in the main application thread.
> > That is, when you hit Ctr + C, it stops running. However, if
> > the class that subclasses it, also subclasses Thread, it breaks
> > in that hitting Ctrl + C interrupts the call
[EMAIL PROTECTED] wrote:
> It works as I want when used in the main application thread.
> That is, when you hit Ctr + C, it stops running. However, if
> the class that subclasses it, also subclasses Thread, it breaks
> in that hitting Ctrl + C interrupts the call to sleep which puts
> the event l
I've written a simple Timer class that allows you to extend it
and then implement onMinuteChange, onHourChange etc methods
which will be executed on each new minute/hour respectively.
It works as I want when used in the main application thread.
That is, when you hit Ctr + C, it stops running. How