this.translateToRelative(bounds);
this.setBounds(bounds);
this.removeAll();
// ok, recreate all children.
CSSFigure cssfigure = (CSSFigure) getOwner().getFigure();
List fragments = cssfigure.getFragmentsForRead();
for (int i = 0, size = fragments.size(); i < size; i++) {
// the rectangle.
Figure childFigure = new BorderFigure();
childFigure.setBorder(new LineBorder(1));
this.add(childFigure);
FlowBox box = (FlowBox) fragments.get(i);
Rectangle rect = new Rectangle(box.getX(), box.getY(), box.getWidth(), box
.getHeight());
cssfigure.translateToAbsolute(rect);
childFigure.translateToRelative(rect);
childFigure.setBounds(rect);
createCornerHandles(cssfigure, box);