I need to get all windows from all applications. I know Java can't do things like this, but there is JNI.
I don't know how to use User32 and other DLL stuff, so I need help.
For example, there is Window.getWindows() which returns all windows from the current Java application, but I want to get windows from all applications.
To be more focused, I want solution without JNI, and if possible on the newest Java versions. If it cannot be done, I can use JNI, but as I said, I don't know how to work with JNI.