question: 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 ) ; } }
target:  take a File handle to PDF file on local filesystem and displays in PDF viewer