verticalAlignment

Sets where a label's content sits along its height, when it is given more height than it needs.

Parameters

alignment

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

See also


Sets where a button's content sits along its height, when it is given more height than it needs.

Parameters

alignment

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

See also