Open xulihang opened 2 months ago
I am bundling jre in the app to run a JavaFX GUI program with the following command:
java -jar ImageTrans.jar
I need to take a screenshot of the program. The system asks for permission. I granted it but it still cannot take the screenshot correctly.
Starting the program directly from the terminal and granting the permission works.
I am bundling jre in the app to run a JavaFX GUI program with the following command:
I need to take a screenshot of the program. The system asks for permission. I granted it but it still cannot take the screenshot correctly.
Starting the program directly from the terminal and granting the permission works.