Computer Science Canada How do you run something at the same time? |
| Author: | ravenzblood [ Sat Oct 16, 2004 7:32 pm ] |
| Post subject: | How do you run something at the same time? |
Like if i run a program, and wanna make 2 animations at the same time, how would i do it? thanks! |
|
| Author: | wtd [ Sat Oct 16, 2004 7:41 pm ] |
| Post subject: | |
Threads. Put each animation in its own thread and they'll run simultaneously. From Sun Microsystems' Java site, an article on threading. More resources here. |
|