Rectangle (Column column, Point columnLocation, Rectangle bounds, Fragment fragment) { Rectangle r = new Rectangle(); r.setBounds(fragment.boundsInColumn); r.x += columnLocation.x; r.y += columnLocation.y; if (column.fragments.size() == 1) { r = adjustComponentBounds(fragment.myComponent, bounds); } return r; }