public void loadPDF(final String input){
  if (input == null) {
    return;
  }
  scale=1;
  PDFfile=input;
  fileLoc.setText(PDFfile);
  if (input.startsWith("http")) {
    openFile(null,input,true);
  }
 else {
    openFile(new File(input),null,false);
  }
}

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