create

Starts a recomposer whose frame-driven work is paced by the display component is on, running at a default cadence while that component is outside any container. This is what serves content built to be read rather than shown, which reaches a composition with no window anywhere in the picture.

Creating it publishes nothing on component, so a mount resolving its parent from the Swing tree reaches this recomposer only through content a caller has already mounted under it, and two content compositions a window accounts for stay on one recomposer and one frame clock.

The caller owns what is returned and decides when it ends: dispose it once the content it drives is torn down. Content that belongs to a window joins that window's own instead.

Must be called on the Event Dispatch Thread.

Return

the started recomposer.

Parameters

component

the component whose display sets the frame cadence. A listener is installed on it to retime the clock as it moves between displays, and dispose removes that listener.