Labels are components that hold one line of plain text, and do not react to user input. They can be used to identify components and give instructions, like Choose one: or Type your name here:. The constructor for a label lets you specify the initial text or icon and, optionally, the alignment of the label. E.g., Label l = new Label("Text", Label.LEFT); Labels can be positioned inside a container like any other component.