You can have the class extend the Thread class.
If you don't want to change the code of the old class though you can try to create a new one that extends the old and implements the Runnable interface:
Runnbale
public NewClass extends OldClass implements Runnable {
public void run() {
......
}
}
Reputation Points: 1014
Solved Threads: 446
Nearly a Senior Poster
Offline 3,258 posts
since Dec 2007