Forces the window and all of its contents to redraw at the window's current size. Generally called automatically when the frame's size or content changes.
The set-size method is called to ensure that the frame is large enough to show its panel. Then the panel's on-container-resize method is called.