Centered near the top of the content pane.
When the revised 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.
(Review: ) What are events in a GUI program?