简体   繁体   English

java.awt.Robot的本地源

[英]Native Source for java.awt.Robot

I am trying to find the native implementations of Java Robot functions. 我试图找到Java Robot函数的本机实现。 I found the Windows implementation here . 我在这里找到Windows实现。 Where can I find the mac and linux versions. 在哪里可以找到Mac和Linux版本。 I'm mainly trying to find out what it's doing to see how I can implement this functionality myself in C++. 我主要是试图找出正在做什么,以了解如何在C ++中自己实现此功能。

Okay so I did some digging around and found what I was looking for. 好的,所以我做了一些挖掘,找到了我想要的东西。 These may not be the latest versions but the metadata is there. 这些可能不是最新版本,但是元数据在那里。

The source code of this class seems having no any native methods, probably calls are delegated somewhere else. 此类源代码似乎没有任何本机方法,可能在其他地方委托了调用。 In any case, OpenJDK seems a proper place to search as this is a complete project and not just part that is written in Java. 无论如何,OpenJDK似乎是一个合适的搜索位置,因为这是一个完整的项目,而不仅仅是Java编写的一部分。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM