adesso è Risolto
bastava aggiungere quelle 2 righe scritte in blu
senza usare getViewport() o altre cose strane.codice:if (NumRows > 0) { int TheRow=NumRows-1; griglia1.setRowSelectionInterval(TheRow,TheRow); Rectangle rettangolo = griglia1.getCellRect(TheRow, 0, true); griglia1.scrollRectToVisible(rettangolo); }
Comunque grazie lo stesso.

Rispondi quotando