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

testing - Detect whether test has failed within fixture -

AbotX : How do you create a parallel crawler that stays on and can be added to at run time from new requests -

android - Create single AAR file from multiple modules using Gradle -