Modifying Layout on Multiple Platforms June 17, 1999 You can use the Toolkit’s getScreenSize().width to recompute the size of a component at run time. For example, if you have a Frame that is supposed to have the screen’s