locking
Locks the entire AWT, executes block and then release lock.
Since
1.4
Locks the surface and executes block, then release lock.
Throw IllegalStateException if lock fails.
Locks the entire AWT, executes block and then release lock.
1.4
Locks the surface and executes block, then release lock.
Throw IllegalStateException if lock fails.