Is there any cross-platform way to figure out which window is at a certain point on the screen?
If there is not, what would be the equivalent function to getWindowAtPoint for linux (X11?) and OS X?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There is functionality in Swing to identify the component at a given point. There is no support in the Java Runtime for inquering about other windows, but the robot-classes can grab screenshots.
What do you need to do?