@RunsInCurrentThread private static void scrollToCell( @Nonnull JTable table, @Nonnull TableCell cell, @Nonnull JTableLocation location) { checkEnabledAndShowing(table); JTableCellPreconditions.checkCellIndicesInBounds(table, cell); table.scrollRectToVisible(location.cellBounds(table, cell)); }
@RunsInCurrentThread private static void scrollToCell( final @Nonnull JTable table, final int row, final int column, final @Nonnull JTableLocation location) { checkEnabledAndShowing(table); JTableCellPreconditions.checkCellIndicesInBounds(table, row, column); table.scrollRectToVisible(location.cellBounds(table, row, column)); }