Java在MacOS中截图被阻止

huangapple 未分类评论44阅读模式
英文:

Java capture screenshot in MacOS blocked

问题

我有一个小的Java应用程序,必须在MacOS下对桌面进行截图。
应用程序第一次运行的时候我得到了:

> "java"想要记录这台计算机的屏幕

Java在MacOS中截图被阻止

我的问题是:如何避免出现这个消息?
想法是不强迫用户经历这么多步骤才能使用该应用。

英文:

I have a small Java application that must take a screenshot of the desktop under MacOS.
The moment the application is run for the first time I got:

> "java" would like to record this computer's screen

Java在MacOS中截图被阻止

My question is: How can this message be avoided?
The idea is not to force user to go so many bumps just to use the app.

huangapple
  • 本文由 发表于 2020年4月3日 22:58:12
  • 转载请务必保留本文链接:https://java.coder-hub.com/61014668.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定