Hii all,

to make my program more interactive, I try to load one .gif file whenever it has a loop. But the animation in loop do not operate until the loop ends. Certainly, it ruins my purpose...

my code like this:

loadImage("processingImage.gif"); //embed animation image in label object.
for(int i = 0; i....; ....){

}//end loop


My animated image paused during the loop. It only operates after the loop ends..

Please help me to explain this situation. And give me the solution...

Thanks all in advance!