How do I stop/workaround Java apps stealing focus in Linux window managers

后端 未结 1 703
失恋的感觉
失恋的感觉 2021-02-08 12:25

We want to quickly prototype widgets in Java. We overlay them on top of a display written in a proprietary 3rd party graphics package. We find that the Java GUI steals keyboar

相关标签:
1条回答
  • 2021-02-08 12:38

    Finally the prototype was reworked in a JWindow rather than a JFrame, and when that JWindow had setFocusableWindowState(false) called on it Java did hand back focus... problem solved.

    0 讨论(0)
提交回复
热议问题