Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get the permission to capture the screen #280

Open
xulihang opened this issue Sep 20, 2024 · 0 comments
Open

How to get the permission to capture the screen #280

xulihang opened this issue Sep 20, 2024 · 0 comments

Comments

@xulihang
Copy link

xulihang commented Sep 20, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant