Pass a thread object to the constructor of the Applet class or Runnable class.
Use the openThread or runnable methods of the Thread class.
Use the Thread class and extend into your own class or create your own class that implements the Runnable interface and pass the object of this class to a thread constructor.
|