Timer

I am developing a PacMan game. When I eat a cookie, e.g. how can i perform any action for 7 seconds.?Meaning how to count the time( using a deferent function than System.currentTimeMillis, like diftime in C )?
[230 byte] By [x_3fPStaa] at [2007-10-3 3:28:42]
# 1
Check this link: http://today.java.net/pub/a/today/2005/02/15/timing.html
jogurtIRa at 2007-7-14 21:22:19 > top of Java-index,Java Essentials,New To Java...