oracle.javatools.ui
Class WindowTiler

java.lang.Objectoracle.javatools.ui.WindowTiler

public final class WindowTiler

extends java.lang.Object

Helper class to tile two windows next to each other.

Two windows, Primary and Seconday, will be automatically positioned so that they do not overlap if they move or change size. The secondary window is attempted to be located in a preferred positions relative to the first, e.g. to its left. If there is no room on screen for the secondary window to fit in this postion then the next preferred poisition is examined, and so on.

When either window is made no longer visible the Tiler stops tiling and releases its resources