Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Design Forum (formerly called the Flexible Java Forum) made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
This is a snippet from the example of synchronizing by public void setColor(int r, int g, int b) { This method (setColor) requires reading of the r,g, and b right?? shouldn't the call to checkRGBVals be inside the synchronize block too? Adam
Replies:
|
Sponsored Links
|