I am working on a desktop application in java and I want a handle to another window created in some other language running in a window in some process. I know its name, name, image name and other details. I cannot find an API for this purpose.
Please let me know if there is any API or library to achieve this. We can easily perform this action in C ++:
hwnd = FindWindow(NULL,(LPCWSTR)"XYZ");
source share