}
}
private CellConstraints deriveCellConstraints(int component, int logicalColumn, int logicalRow) {
CellConstraints constraints = format.getConstraints(component);
constraints = (CellConstraints)constraints.clone();
constraints.gridX += logicalToLayoutColumn(logicalColumn) + (logicalColumn > 0 && gapColumn != null ? 1 : 0);
constraints.gridY += logicalToLayoutRow(logicalRow) + (logicalRow > 0 && gapRow != null ? 1 : 0);
return constraints;
}