countdown timer from server to client

i am using server soket to comunicate my server with client in flash. i would like to send a coundown timer from server to client where certain client can see the timer. and when the timer stop, server will start certain action. i am new in java and really no idea how to do it.. anyone hav any suggestion on how to do it?

[329 byte] By [gracecheaha] at [2007-11-27 11:21:32]
# 1

Best to run the timer in the client and send the required command to the server when it expires.

ejpa at 2007-7-29 14:49:21 > top of Java-index,Java Essentials,New To Java...
# 2

but i want all the client start the timer togather. if so, it still work?

gracecheaha at 2007-7-29 14:49:21 > top of Java-index,Java Essentials,New To Java...
# 3

Err, no. See java.util.Timer.

ejpa at 2007-7-29 14:49:21 > top of Java-index,Java Essentials,New To Java...
# 4

my server is java application but not web application. while the server countdown the timer, the client also need to see the status of timer.

can give me simple example? appreciate it very much

gracecheaha at 2007-7-29 14:49:21 > top of Java-index,Java Essentials,New To Java...
# 5

someone please help me up..

how to make the timer running while some action is running also?

gracecheaha at 2007-7-29 14:49:21 > top of Java-index,Java Essentials,New To Java...