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