emptyBorder

Sets an invisible border of all on every side. See emptyBorder (the four-side form).

Parameters

all

the space reserved on each of the four sides, taken out of the area the content is laid out in.

See also


fun SwingComponentStyleScope.emptyBorder(top: Int, left: Int, bottom: Int, right: Int)

Sets an invisible border with the specified space on each side. margin is the space a button or text component keeps inside its border. See border for precedence and restoration.

Parameters

top

the space reserved above the content.

left

the space reserved to the left of the content.

bottom

the space reserved below the content.

right

the space reserved to the right of the content.

See also


Sets an invisible border occupying insets. See emptyBorder (the four-side form).

Parameters

insets

the space to reserve on each side, read out of the object as the style runs.

See also