Wait for some seconds

How can I wait for some seconds before executing the functions followed? Use thread?
[98 byte] By [soso825] at [2007-9-26 22:50:42]
# 1
try wait( milliseconds ) or sleep( milliseconds ).tobias
tobiasleissner at 2007-7-4 3:25:39 > top of Java-index,Archived Forums,Java Programming...
# 2
You can call Thread.sleep(timeInMilliseconds). This will stop the number of ms specified.
U063667 at 2007-7-4 3:25:39 > top of Java-index,Archived Forums,Java Programming...