you never started the Thread: Thread t = new Thread(); ...rest of code elided ... t.start(); System.out.println( "Joining..." ); t.join();

Ron Newman
Ranch Hand

Joined: Jun 06, 2002
Posts: 1056

posted Aug 12, 2002 20:10:00

0

I know that ... I even said it in my question.

Robert Paris
Ranch Hand

Joined: Jul 28, 2002
Posts: 585

posted Aug 13, 2002 08:21:00

0

whoops, sorry. You're right. To be less vague, join was made to simply return quietly if the Thread is not started. Since you did not start the thread, it simply does nothing (but now seeing the guy who posted the source code - is that allowed in the license - it's obvious in there)