Focus an external window (shell) using JNA

这一生的挚爱 提交于 2019-12-24 10:43:00

问题


I want to get the focus on a xterm using JNA (or JNI) knowing the xterm title. At the moment I'm doing it with xdotools but I want to change to pure Java. Is it possible? And how?

Note: I'm using ubuntu 11.10

来源:https://stackoverflow.com/questions/10280930/xdotools-alternative-in-java

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!