x.start(); // DO NOT CALL run()!!! y.start(); // DO NOT CALL run ... public class ClassToRun extends SomeClass implements Runnable { public void run ...
Example from Berg Chapter 4 see references. 16. UMBC. A Server Example ... Advanced Techniques for Java Developers,Berg & Fritzinger, Chapter 11 Wiley, 1999 ...