Same way as you would do it in a non-applet environment. You have a class that extends Runnable, or a class that extends Thread, and create the thread in the usual way. You might want to control the "running state" of the thread with the applet control methods, as to stop processing when the applet goes out of focus, or gets back in focus.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.