Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经搜索了该网站,但找不到问题的答案。
我正在尝试用 java 编写一个程序,该程序将输入文本并将其提交到另一个 java 程序中。
到目前为止,我知道一个选项可能是使用 Robot,但我认为这意味着我需要确切地知道程序的文本框在屏幕上的位置。
任何建议都将不胜感激,如果这在 C++ 中更容易做到,我会同意的。
在此先感谢您的帮助
如果不与其他 java 应用程序合作,您唯一的选择(都不好)是 Robot 和 JNI