Rectangle applet

To move the rectangle, drag inside of it.

To resize the rectangle, drag one of its edges.