Using Delay

Hello all!I wold like to know if anyone could give me a little example on how to use a Delay in java. if could be any kind of example. I just need to know how to use it :-/Thanks!
[207 byte] By [River_Platea] at [2007-11-27 7:44:49]
# 1
How to use delay?do you mean Thread.sleep(1000);
Dalzhima at 2007-7-12 19:25:26 > top of Java-index,Java Essentials,New To Java...
# 2
well any yeah.. any way that you could use to delay for example a for loop :-/
River_Platea at 2007-7-12 19:25:26 > top of Java-index,Java Essentials,New To Java...
# 3
Often, though, sleep is the wrong answer because it slows down a thread that should be responsive.Perhaps if you shared what you are trying to do, what your goal is.
Hippolytea at 2007-7-12 19:25:26 > top of Java-index,Java Essentials,New To Java...