// execute InParallel.run() // in parallel to this thread on a new thread. Thread t = new Thread ( new InParallel() ); // Note we call t.start(), not t.run() // t.run() would just call run in the ordinary way. t.start();