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.
Textfield class: A TextField object is a text component that allows for the editing of a single line of text.
add(Popupmenu Popup): Adds the specified popup menu to the component.
addActionListener(this): An ActionListener is a callback mechanism. Whenevera control is added, it fires an ActionEvent and the public void actionPerformed(ActionEvent e) method is invoked. this in the method takes the current class object as a parameter.
Font class: The
Font class represents fonts, which are used to render text in a visible way.
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.