CellRenderer.setFixedSize

Sets the renderer size to be explicit, independent of the properties set.

class CellRenderer
void
setFixedSize
(
int width
,
int height
)

Parameters

width int

the width of the cell renderer, or -1

height int

the height of the cell renderer, or -1