horizontalTextPosition
Sets which side of the icon the text is drawn on. 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 horizontal text position declared on it.
Parameters
position
a HorizontalAlignment SwingConstants value; LEADING and TRAILING resolve against the component's orientation. Any other value is refused with an IllegalArgumentException.