Yes, a lock can be acquired on a class. This lock is acquired on the class's Class object..
The stop(), suspend() and resume() methods have been deprecated in JDK 1.2.
The null is not a keyword.
The preferred size of a component is the minimum component size that will allow the component to display normally.
The setLayout() method is used to specify a container's layout.