public void loadPDF(final File input){
  if (input == null) {
    return;
  }
  scale=1;
  PDFfile=input.getAbsolutePath();
  fileLoc.setText(PDFfile);
  openFile(input,null,false);
}

public void loadPDF ( final File input ) { if ( input == null ) { return ; } scale = 1 ; PDFfile = input . getAbsolutePath ( ) ; fileLoc . setText ( PDFfile ) ; openFile ( input , null , false ) ; }
take a file handle to pdf file on local filesystem and displays in pdf viewer
