Last Updated: February 25, 2016
·
7.615K
· perty

Window, Scene and Node coordinates in JavaFX

Some code to use Robot to click on a button. Robot requires you to supply coordinates as integer screen coordinates. Here is how you find those for a Node in JavaFX.

http://blog.crisp.se/2012/08/29/perlundholm/window-scene-and-node-coordinates-in-javafx

Picture