6.6.4. Cascading and Tiling
In Windows, there are standard commands for cascading and tiling windows (see Figures 6.49 and 6.50). The Java
JInternalFrame classes have no built-in support for these operations. In Listing 6.31, we show you how you can implement these operations yourself.
To cascade all windows, reshape windows to the same size and stagger their positions. The
getAllFrames method of the
JDesktopPane class returns an array of all internal frames. ...