public void pageBreak(){
synchronized (this.lock) {
    if (isPreview) {
      pageImages.addElement(previewImage);
    }
    if (page != null) {
      page.dispose();
    }
    page=null;
    newpage();
  }
}

public void pageBreak ( ) { synchronized ( this . lock ) { if ( isPreview ) { pageImages . addElement ( previewImage ) ; } if ( page != null ) { page . dispose ( ) ; } page = null ; newpage ( ) ; } }
end the current page . subsequent output will be on a new page
