> Hi,
>
[quoted text clipped - 7 lines]
>
> Bye
This is what I wrote once:
void showRow(int rowIndex)
{
if (rowIndex >= 0 && rowIndex < myTable.getModel().getRowCount())
{
Rectangle vr = myTable.getVisibleRect();
Rectangle cr = myTable.getCellRect(rowIndex, 0, false);
vr.y = cr.y;
vr.height = cr.height;
myTable.scrollRectToVisible(vr);
}
}

Signature
Regards,
Roland de Ruiter
___ ___
/__/ w_/ /__/
/ \ /_/ / \
Anand Misier - 19 Feb 2005 21:32 GMT
Thanks Roland,
It works perfect!
Bye,
Anand
>> Hi,
>>
[quoted text clipped - 20 lines]
> }
>}