int getFirstVisibleRowIndex()
int getFirstVisibleRowIndex(JTable table)
    int getFirstVisibleRowIndex()    {      ComponentOrientation or = table.getComponentOrientation();      Rectangle r = table.getVisibleRect();      if (!or.isLeftToRight())        r.translate((int) r.getWidth() - 1, 0);      return table.rowAtPoint(r.getLocation());    }