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:

Runnable is used in multithreading.
The run() method is used by a Thread instance when the thread is running. You never call it directly!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.