I know WindowListenerhis ilk, but they seem to provide events for windows that you already have a link to, and you can add a listener. I am wondering how to get a callback when new windows are created by other processes, or polling for a list of all the windows currently open in the system.
I use J2SE on Mac OS X, but the cross-platform answer is perfect.
source
share