Although the sizes of all components of the Desktop are initially
set with definitions in the Desktop definition file, you can resize them at
runtime by using a layout. A class named NewGridLayout has been implemented
and provided with the Desktop component. To have the Desktop resize at runtime,
set this method to true for the Desktop instance, as in the following code:
Desktop.setUsingLayouts(true);
This layout resizes all the components as a function
of the size of the Desktop.