ui/src/main/java/ucar/nc2/ui/table/JTableSorted.java
private void ensureRowIsVisible(int nRow) {
    Rectangle visibleRect = jtable.getCellRect(nRow, 0, true);
    if (visibleRect != null)  {
      visibleRect.x = scrollPane.getViewport().getViewPosition().x;
      jtable.scrollRectToVisible(visibleRect);
      jtable.repaint();
    }
  }
private void ensureRowIsVisible(int nRow) {
    Rectangle visibleRect = jtable.getCellRect(nRow, 0, true);
    if (visibleRect != null)  {
      visibleRect.x = scrollPane.getViewport().getViewPosition().x;
      jtable.scrollRectToVisible(visibleRect);
      jtable.repaint();
    }
  }
private void ensureRowIsVisible ( int nRow ) { Rectangle visibleRect = jtable . getCellRect ( nRow , 0 , true ) ; if ( visibleRect != null ) { visibleRect . x = scrollPane . getViewport ( ) . getViewPosition ( ) . x ; jtable . scrollRectToVisible ( visibleRect ) ; jtable . repaint ( ) ; } }
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////