Center a frame on the screen.
An object of the type
or its subclass.
The percent of screen width to be occupied by the frame width.
The percent of screen height to be occupied by the frame height.
The functions sets the width and height of the frame to be the given fractions of the screen width and height, and positions the center of the frame at the center of the screen.