Answer:
Class names like Label, Button, and TextField
exist and are valid classes from the AWT (not Swing).
A completed program would compile and run, but might not work as you expect.
Adding Components
Use FlowLayout for the layout manager.
It puts components into the content pane in the order they are
added.
Now the GUI components need to be added to the frame in the correct order.
(Caution: this is not necessarily the same order in which they are declared.)
To put a label to the left of a component, first add the label, then add the component. But if the frame is too small, the component might be placed in the next row! There are better ways to do this which will be discussed later.
QUESTION 14:
Has an ActionListener been registered?