I have a Java application that is calling Desktop.getDesktop().open(someFile). This method opens some file in its default application. Is there a way to detect
Desktop.getDesktop().open(someFile)