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/10584649/focus-an-external-window-shell-using-jna