[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] How to use achieve Thread.sleep behavior without freezing app?

Hi,

My drawing application need to do the following 3 steps.
1.Display image 1.
2.Display it for "n" seconds
3.Display image 2.
So I display image 1, then do a Thread.sleep and then do a Display image 2. This freezes my system and am sure is not the right way to do this. Can someone suggest a correct way of achieving this?


Thanks Chhil