Class must implement runnable - how do I wait for threads to finish
Posted on 2006-07-07
I have a class "B" that "starts" a threads on a class "A" that implements runnable.
From what I understand if class "A" extends Thread then the class "B" could call join on "A" and
therefore would "wait" until all threads finished??
Is this right??
If so, is there somthing similar I can do in this case where class "A" implementes runnable (btw it must implement
because the "extends" is already used up on another class).