code: public boolean setPage(int p) {
          if (p >= 0 && p < getPageCount()) {
              page = p;
              fireTableDataChanged();
              return true;
          }
          
          return false;
      }
docs: Moves to specific page and fire a data changed (all rows).
  @return true if we can move to the page.