A good answer might be:

Yes.

Resizing the Frame

Here is the GUI from the previous chapter with width of 280 and a height of 200 as set in the program:

The title, labels, textfields, and button are nicely laid out. However, the user can click the mouse pointer on the right edge of the frame and drag it until it looks like this:
Now the layout is not very nice. The flowLayout layout manager is behaving correctly---components are placed into the frame in raster order---but the size of the frame is wrong.

QUESTION 2:

(Review: ) what method (from the class Frame) is used to set the size of a Frame object?

Click Here after you have answered the question