Classes and objects in Java must be initialized before they are used. You’ve previously learned that class fields are initialized to default values when classes are loaded, and that objects are ...
The first method associates the component with a tab; the second gets it back; and the last one tells you which tab is associated with the component, if any. Typically, you use only the first method, ...