Thread: [Echo-list] Timer class
Brought to you by:
tliebeck
From: Mark S. <msa...@be...> - 2004-01-18 06:31:14
|
I have not had any luck getting the Timer class to work. I am using it with setRepeats(false). I add it to the hierarchy of a new window (window --> container pane --> content pane --> timer), which in turn is added to the EchoInstance using addWindow(). If I set the action listener as either the EchoInstance or the new window itself, the actionPerformed method is never triggered when the time runs out on the timer. (I tested this even with times b/w 200 millseconds and 20000 ms). I have tried this with both Explorer (6.0) and Navigator 7.0. Any ideas? |
From: Georg S. <geo...@we...> - 2004-01-18 08:55:39
Attachments:
ep_timerPatch.tgz
|
There are some bugs in Timer/TimerUI that are fixed in the attached files now. Best regards, Georg Am So, 2004-01-18 um 07.31 schrieb Mark Salamon: > I have not had any luck getting the Timer class to work. I am using it > with setRepeats(false). I add it to the hierarchy of a new window (window > --> container pane --> content pane --> timer), which in turn is added to > the EchoInstance using addWindow(). If I set the action listener as either > the EchoInstance or the new window itself, the actionPerformed method is > never triggered when the time runs out on the timer. (I tested this even > with times b/w 200 millseconds and 20000 ms). > > I have tried this with both Explorer (6.0) and Navigator 7.0. > > Any ideas? > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Echo-list mailing list > Ech...@li... > https://lists.sourceforge.net/lists/listinfo/echo-list |
From: <Bra...@ca...> - 2004-01-18 23:48:37
Attachments:
ep_timerPatch.tgz
|
Thanks for those fixes. They certainly cleans up some of the code. However I am not sure they will fix Mark's original problem. Mark, have a look in the generated HTML and look for a body onload event that calls the ep_setTimer() function. Make sure its there and doing what you want. Also make sure the Timer compnoent is not invisible otherwise it wont be rendered. Cheers Brad Baker ---------------------------------------------------------------------------------------- Email : bra...@ca... Mobile: 0418-642-341 ---------------------------------------------------------------------------------------- Georg Sendt <geo...@we...> To: Mark Salamon <msa...@be...>, ech...@li... Sent by: cc: ech...@li...ur Subject: Re: [Echo-list] Timer class ceforge.net 18/01/2004 07:55 PM There are some bugs in Timer/TimerUI that are fixed in the attached files now. Best regards, Georg Am So, 2004-01-18 um 07.31 schrieb Mark Salamon: > I have not had any luck getting the Timer class to work. I am using it > with setRepeats(false). I add it to the hierarchy of a new window (window > --> container pane --> content pane --> timer), which in turn is added to > the EchoInstance using addWindow(). If I set the action listener as either > the EchoInstance or the new window itself, the actionPerformed method is > never triggered when the time runs out on the timer. (I tested this even > with times b/w 200 millseconds and 20000 ms). > > I have tried this with both Explorer (6.0) and Navigator 7.0. > > Any ideas? > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Echo-list mailing list > Ech...@li... > https://lists.sourceforge.net/lists/listinfo/echo-list (See attached file: ep_timerPatch.tgz) |