Starting a new thread from inside a thread
<p>I have a program which creates a thread to monitor user input. The thread has a <code>while(true)</code> loop which continually checks whether or not a certain series of strings has been typed. </p>

<p>Once a certain string has been typed I would like to set off a Timer or start a Thread that executes a piece of code every few seconds or so. The original thread needs to keep going concurrently.</p>

<p>I was wondering how I can do this? I'd like to keep the threads separate in a sense that If one exits the run() method, the other one remains alive and I can still get a reference to it.</p>
