setLayout: A layout manager is an object that implements the LayoutManager interface and determines the size and position of the components within a container
Label class: A Label object is a component for placing text in a container. A label displays a single line of read-only text. The text can be changed by the application, but a user cannot edit it directly
public class Label
Label(String text, int alignment):Constructs a new label that presents the specified string of text with the specified alignment.
Scrollbar class: The
Scrollbar class embodies a scroll bar, a familiar user-interface object. A scroll bar provides a convenient means for allowing a user to select from a range of values.
add(Popupmenu Popup): Adds the specified popup menu to the component.
addAdjustmentListener(thisThe listener interface for receiving adjustment events. this in the method takes the current class object as a parameter. It will invoke voidadjustmentValueChanged(AdjustmentEvent ae)
WindowListener interface: The listener interface for receiving window events. The class that is interested in processing a window event either implements this interface (and all the methods it contains) or extends the abstract
WindowAdapter class (overriding only the methods of interest). The listener object created from that class is then registered with a Window using the window's
addWindowListener method. When the window's status changes by virtue of being opened, closed, activated or deactivated, iconified or deiconified, the relevant method in the listener object is invoked, and the
WindowEvent is passed to it.