A good answer might be:

Sure. A frame can hold many GUI components.

Two Buttons in a Frame

Let's develop a new program:

This is very close to a previous example program. It would be sensible to copy that file and edit it for the new application. However, as a review of these somewhat confusing GUI implementation details, let us start from scratch.


Read the description again and decide on the following:

  1. How many frames are there?
  2. What GUI components will it contain?
  3. What objects generate events?
  4. What objects receive events?