BoxLayout.setBaselineChild

void setBaselineChild(int child)

Sets the index of the child that determines the baseline in vertical layout.

Parameters

childthe child position, or -1