Hi,
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.
HTH
Pieter