开发者

Windows State of another app. handling with Java (Ubuntu)

开发者 https://www.devze.com 2023-02-09 22:39 出处:网络
Is there any option which i can use to Control Window State of another App. from a Java Application .

Is there any option which i can use to Control Window State of another App. from a Java Application .

Like if i need to minimize or maximize another app. window on Ubuntu Enviroment (if it's matter's im using Gnome Window M开发者_StackOverflow社区anager).

Bests


Two bad options:

1) use java.awt.Robot to click the appropriate coordinates where the window is. (You have to hard code these)

2) use jni

0

精彩评论

暂无评论...
验证码 换一张
取 消