Java - Desktop.getDesktop().open() - Wait until file is open? -


i'm searching solution wait until file opened. application opens pdf files , displays user-input dialogs dialog overlapped pdf file. there way add listener or show dialog when pdf file open?

i use delay or pause that's not want.

i'm using

desktop.getdesktop().open(new file("my.pdf")); 


Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -