Originally Posted by
Norm
Have you tried debugging your code? Add println() statements to trace logic flow and variable values.
For wait and notify to communicate, they must be issued against the same object. You have notify using the mythread object and wait using "this" in GifAnimator. Two different objects.
Do a search for some simple examples of wait and notify usage.
Yes, I removed all the println statements to shorten the code.
I'll add them back in and post where it hangs.
As far as wait/notify on different objects, it's actually not like that in my current code, I think I was just experimenting when confused.