PDFBox related question

Hi ,

I want to get the time elapsed while opening a pdf file . I am not able to find a way to do it using PDFBox, Is there any way using which I can create a PDDocument in my java program and use some API to launch the PDF file and measure the time elapsed in opening it.

Re: PDFBox related question

Okay , yeah I wrote my query in quite an unclear way . I read documentation for PDFBox documentation but couldn't find the API for open the doc.
Yeah , Desktop class looks quite useful , will try with it .

Re: PDFBox related question

Yeah , PDFPagePanel could be used , however it is for displaying a particular set of pages , I am currently experimenting if the display of all pages using pagepanel and displaying the entire PDF file using desktop class would be equivalent or not ( ignoring the extra time involved for using Desktop apart from fetching the pages) in the context I am trying to use this.