Name: skT88420 Date: 05/11/99
When adding a row to a JTable in a JScrollPane I select the new row and attempt to make sure that it is visible. I do this by calling the getCellRect(row, column, true) method and using the rectangle returned as the parameter for a scrollRectToVisible() call. This works except when the row I have added is the last one in the table. The row is just below the Viewport's base and I have to click on the scroll bar to scroll down one more row. I have not tried this in a Soloaris environment so I don't know if it is a problem there too. I tried increasing the y cooordinate of the rectangle object before calling the scrollRectToVisible() method, to no avail.
(Review ID: 58038)
======================================================================