Answer:
JLabel
The JLabel Class
Here is a constructor for JLabel:
JLabel( "Some Words" )
It constructs an object which can be added to a frame. Its size and location is managed by the layout manager. Here is our sample program:
With FlowLayout,
components are put into the frame
left to right, top to bottom
in the order that they are added.
QUESTION 6:
Fill in the blanks so that the label "Enter Your Name" is placed to the left of the text field.