jQuery in Action, 2nd edition*
The moose likes Threads and Synchronization and the fly likes Having Problems with Multithreading Two Animations Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "Having Problems with Multithreading Two Animations" Watch "Having Problems with Multithreading Two Animations" New topic
Author

Having Problems with Multithreading Two Animations

Nathe Chan
Ranch Hand

Joined: Mar 12, 2009
Posts: 33
Hi everyone,

I need help ASAP.

If you can help me on this, that would be appreciated. Currently, I have two animations (two classes) in a Java Applet. I would like to know how to animate both at the same time. Here they are.



If you cannot understand the code, here is a brief explaination of both of it's functionality.

The 'Buy More at Nathan Chan Movie Buy' text is supposed to move from the right of the screen to the left of the screen.
Moreover, the Austin Powers picture array is supposed to animate from the left of the screen to the right of the screen.

My objective is to animate two of these animations both at the same time.

What code is needed in order for both to "multithread"?
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39102
    
  23
Too difficult a question for beginners. Moving.
 
GeeCON Prague 2014
 
subject: Having Problems with Multithreading Two Animations