protected void fetchBounds(Object element) throws Exception {
m_absoluteBounds = fetchAbsoluteBounds(element);
{
Rectangle bounds = m_absoluteBounds.getCopy();
if (getParent() instanceof AbstractComponentInfo) {
AbstractComponentInfo parent = (AbstractComponentInfo) getParent();
Rectangle parentAbsoluteBounds = parent.getAbsoluteBounds();
bounds.x -= parentAbsoluteBounds.x;
bounds.y -= parentAbsoluteBounds.y;
bounds.translate(parent.getClientAreaInsets().getNegated());
}
setModelBounds(bounds);
}
}