Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 How do you run something at the same time?
Index -> Programming, Java -> Java Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
ravenzblood




PostPosted: 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!
Sponsor
Sponsor
Sponsor
sponsor
wtd




PostPosted: Sat Oct 16, 2004 7:41 pm   Post subject: (No 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.
Display posts from previous:   
   Index -> Programming, Java -> Java Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: