Re: Thread and calling Methods

where the first ocurrence of clientThread if of type Thread (don't use the same name for different type of objects) and will know that the passed runnable will have a run() method and nothing else about the runnable clientThread. If you you want to call methods in the runnable you need to have an reference to the runnable.