To synchronize the whole class, use the static method of the class
What static method? Do you mean to declare the class as a static class? If you do this can you still have synchronized methods? Is it possible to have methods that are both static and sychronized?
Sorry for these questions, but as you can tell, Threads are not something I use much.
Thanks,