A good answer might be:

Centered near the top of the content pane.


Output of the Program

When the program is compiled and run, this is what is displayed:

This looks better than the previous, default, choice. It is possible to do the layout yourself, avoiding a layout manager. You can say exactly where you want a component to go and what size it will be. But these notes will not cover that.




QUESTION 8:

(Review: ) when the button is clicked, where should its events be sent?