The program in Segment 973 produces the following, well-proportioned display, even as you vary the size of the applet: