Java Concurrency Problem

Posted 22 March 2011 - 05:37 PM

My assignment requires to print Mares eat oats, Does eat oats, And little lambs eat ivy. In this order
I am able to print the first two but not the last message. When I debug it seems to stop at line 17.

Other Requirements....
All print statements must be in main.
All three message assignments must remain unchanged from Badthreads.java (code I'm modifying)
Must use wait/notify/join. Not sleep.

Below is what I have tried thus far. Any help will be appreciated. If I need to provide more information let me know.
FYI I'm very new to Java Concurrency.