verticalTextPosition

Sets whether a label draws its text above, across or below the icon; a label with no icon lays out the same either way.

Parameters

position

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

See also


Sets whether a button draws its text above, across or below the icon; a button with no icon lays out the same either way.

Parameters

position

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

See also