+ 1
How can a global listener be implemented?
How can you implement a global listener that will track keystrokes even when the app window is minimized in the background?
1 Answer
0
"I don't think that is possible. Once the frame is minimized, the application is no longer focused, and key event will transfer to the focused application or to the system."
Source:
https://stackoverflow.com/questions/23110614/how-to-minimize-and-maximize-jframe-in-java-using-mouse-and-key-listener?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa