| Author |
Thread problem
|
nabi bux
Ranch Hand
Joined: Mar 14, 2005
Posts: 73
|
|
Hi , Every body iam very upset about my asinment which is that i have to used five pictures and the each picture displayed after the 1 minutes then i have write Thread.sleep(1000) the browser shows an error please tell me how i can use sleep() method is there any concept of it
|
 |
Yuriy Zilbergleyt
Ranch Hand
Joined: Dec 13, 2004
Posts: 429
|
|
Sleep in javascript on the client side, not java on the serverside. setTimeout('displayNextPicture()', 60*1000); Though that's not really sleeping since it's a callback. [ April 12, 2005: Message edited by: Yuriy Zilbergleyt ]
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
Is this assignment in Java? or in JavaScript? I have a feeling it is Java so I am moving there.... Eric [ April 12, 2005: Message edited by: Eric Pascarello ]
|
 |
 |
|
|
subject: Thread problem
|
|
|