setSize(CompoundModel.DEFAULT_SIZE);
}
else
{
Rectangle bound = calculateBounds();
Dimension diff =
getLocationAbs().getDifference(bound.getLocation());
setLocationAbs(new Point(bound.x - this.MARGIN_SIZE,
bound.y - this.MARGIN_SIZE));
setSize(new Dimension(bound.width + (2 * this.MARGIN_SIZE),
bound.height + (2 * this.MARGIN_SIZE) + this.LABEL_HEIGHT));
Iterator iter = this.children.iterator();
while (iter.hasNext())