iconTextGap

Sets the space between a label's icon and its text.

Parameters

gap

the space between the icon and the text, on whichever side of the icon the text sits.

See also


Sets the space between a button's icon and its text.

A button stops taking this from the look and feel once set, and Swing offers no way to hand it back.

Parameters

gap

the space between the icon and the text, on whichever side of the icon the text sits.

See also