コード例 #1
0
 @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));
 }
コード例 #2
0
 @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));
 }