applet , Runnable interface and problems

Reply

Join Date: Nov 2004
Posts: 3
Reputation: pasaris is an unknown quantity at this point 
Solved Threads: 0
pasaris pasaris is offline Offline
Newbie Poster

applet , Runnable interface and problems

 
0
  #1
Feb 13th, 2005
i want to make a simple applet in which a ball bounces using Runnable interface ..i know how to draw a ball , i know the translate() to change its location method but what i dont understand is how to use the Runnable interface's run() method fit into my applet ..?? can somebody help me out
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,145
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 212
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: applet , Runnable interface and problems

 
0
  #2
Feb 14th, 2005
Runnable is used in multithreading.
The run() method is used by a Thread instance when the thread is running. You never call it directly!
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC