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.
We were given a URL as a hint.
This is the URL
However I can't seem to make any headway =[ I would appreciate it if someone could please push me in the right direction =]
Here is my code, and thanks again =D