update


Description:

public void update (Rectangle rect)

Update the size and position of the preview window.

This function is called on drag_motion event to update the representation of the docking site in real time.

Parameters:

this

a PreviewWindow

rect

the new position and size of the window