private boolean isPageBreak(int row){
  for (int i=0; i < m_pageBreak.size(); i++) {
    Integer rr=(Integer)m_pageBreak.get(i);
    if (rr.intValue() + 1 == row)     return true;
 else     if (rr.intValue() > row)     return false;
  }
  return false;
}

private boolean isPageBreak ( int row ) { for ( int i = 0 ; i < m_pageBreak . size ( ) ; i ++ ) { Integer rr = ( Integer ) m_pageBreak . get ( i ) ; if ( rr . intValue ( ) + 1 == row ) return true ; else if ( rr . intValue ( ) > row ) return false ; } return false ; }
check for for pagebreak
