Knowing list box items before paintCell?


I’d like to know if there’s a way to know exactly which rows will be called in paintCell(…) beforehand (so I can preprocess some data in listWasScrolled() ) ? I’ve looked at getVerticalPosition() and getNumOfRowsOnScreen(), but can’t say if this will provide exactly the set which will be updated via paintCell…


Maybe you could call getCellPosition() and see if it intersects the component’s bounds?