I believe the lock item has to be an object as well so if you wanted to put a lock on the counter you would have to use the Integer type instead of the primitive "int".
WaltP commented: Never BUMP your threads. We'll get to them when we getr to them. -3