CellRenderer.setPadding

void setPadding(int xpad, int ypad)

Sets the renderer’s padding.

Parameters

xpadthe x padding of the cell renderer
ypadthe y padding of the cell renderer