FormLayout.Measure prefHeightMeasure) {
ColumnSpec colSpec = gridWidth == 1 ? layout.getColumnSpec(gridX) : null;
RowSpec rowSpec = gridHeight == 1 ? layout.getRowSpec(gridY) : null;
Alignment concreteHAlign = concreteAlignment(this.hAlign, colSpec);
Alignment concreteVAlign = concreteAlignment(this.vAlign, rowSpec);
Insets concreteInsets = this.insets != null ? this.insets : EMPTY_INSETS;
int cellX = cellBounds.x + concreteInsets.left;
int cellY = cellBounds.y + concreteInsets.top;
int cellW = cellBounds.width - concreteInsets.left - concreteInsets.right;
int cellH = cellBounds.height - concreteInsets.top - concreteInsets.bottom;
int compW = componentSize(c, colSpec, cellW, minWidthMeasure,