This applet demonstrates how to implement a communication method between two threads. The important points are spawning a thread, running the two threads in parallel, the creation of the input and output streams, and the susbsequent teardown so that no zombie processes are left running. The Main thread in the applet creates two pipes and passes them as formal parameters to the instantiated thread class.