使用 Java 临时控制系统
我开发了一个应用程序,用于向公司员工显示一些信息。其中一项规范是员工必须每隔一段时间至少查看一次此信息。为此,我想对系统进行一段时间(10 秒)的最大控制,以确保用户看到该信息。 Ej:关闭关键字和其他东西。这是我的第一个问题:Java 中有没有类可以让我做这类事情?如果没有的话,还有其他办法吗,你会怎么做?
提前致谢!
I have developed an app for showing some information to the employees of a company. One of the specification was that this information must be seen at least 1 time by the employee once a while. For this purpose, I want to take the maximum control of the system for a while (10 seconds) for being sure the person sees the information. Ej: turn off the keywords and other stuff. This is my first question: Is there any classes in Java which let me do this sorts of things? In the case there isn't, is there another way, how would yo do it?
Thanks in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
为此,您将需要使用本机代码。要么只使用某种本机语言(例如 C 或 C++)开发应用程序,要么使用 C/C++ 创建 JNI DLL 并从 java 调用它(这毫无意义)。
You will need to use native code for this. Either just develop the application in some native language such as C or C++ or create a JNI DLL in C/C++ and call it from java (which is rather pointless).
您可以全屏运行您的应用程序。因此覆盖所有其他应用程序。
You can run your app in full screen. Thus overlay all other apps.