DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   Java (http://www.daniweb.com/forums/forum9.html)
-   -   applet , Runnable interface and problems (http://www.daniweb.com/forums/thread18580.html)

pasaris Feb 13th, 2005 10:02 am
applet , Runnable interface and problems
 
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 :confused:

jwenting Feb 14th, 2005 1:50 am
Re: applet , Runnable interface and problems
 
Runnable is used in multithreading.
The run() method is used by a Thread instance when the thread is running. You never call it directly!


All times are GMT -4. The time now is 10:14 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC