@Override
    public void applyTo(Component component) {
      Dimension size = mySizeProperty.getSize(component);
      if (size != null) {
        myDimensionSum.add(size);
      } else
        myDimensionSum.grow(myDefaultExtent);
    }
@Override
    public void applyTo(Component component)