* adjusts the geometry to the current location of the child
* moves the grab-handles to their new locations.
*/
public void repaint() {
// Create the damage region
DamageRegion d = DamageRegion.createDamageRegion(getTransformContext(),
getBounds());
// Change the geometry to match the current location
refresh();
// Move the grabhandles
relocateGrabHandles();
// Extend the damage region
d.extend(getBounds());
// Propagate the damage request
if (getParent() != null) {
getParent().repaint(d);
}