This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
Hello Everyone! Thank you for taking the time to look at my thread.
I have an assignment to do on concurrency. That's fine, however I face an initial hurdle.
This assignment is based on the dining philosophers problem.
I can change the number of philosophers at present by changing the appropriate variable in the code. I'm supposed to rotate the
philosophers around the table so they all "face" the centre, but at present they all remain upright around the table.
The rotateImageIcon method is the one I need to implement. It is stated in the handout that it is called in the correct places, and that we just need to implement it. Initially it is empty, except for the return statement "return picture".
What is currently within the method is my attempt.