verticalTextPosition

Sets whether the text is drawn above, across or below the icon. Applies to labels and to everything built on a button; a component with no icon lays out the same either way.

Return

this chain with the vertical text position declared on it.

Parameters

position

a VerticalAlignment SwingConstants value; any other value is refused with an IllegalArgumentException.

See also