PDA

Click to See Complete Forum and Search --> : Java counter/countdown


Zvonko
Mar 3rd, 2001, 04:31 PM
Hello!

I have one simple request.
I have to make a countdown (mm:ss) timer for one of my web projects but the problem is that I don't know how to do it in Java. I've done it in VB, but if you want to run that timer, the client has to have vb runtimes installed.
So I'd like to ask you if anyone would like to help me sending code.
I'd need a class with three parameters: back color, text color and countdown time in seconds. Then function in java applet would format those seconds in appropriate "mm:ss" format. Oh, yes, and applet must stop and fire an event or something like that when it reaches zero.
Anyone wants to help me?

Mar 6th, 2001, 11:45 AM
Maybe this Timer Bean at post
http://forums.vb-world.net/showthread.php?s=&threadid=46050
I never played with that though.