visibleGridSize
Returns the grid size that fits in this component's current bounds.
This method may be called from any thread. EDT callers refresh the snapshot from live component state before reading it; off-EDT callers read the last EDT-published snapshot without blocking the event queue.
Return
dimension where width is columns and height is rows.