Public API to find node at specific coordinates

Scott Palmer swpalmer at gmail.com
Tue Feb 2 21:36:09 UTC 2016


Do we have such an API yet?
I found this:
 https://bugs.openjdk.java.net/browse/JDK-8091684
and:
https://bugs.openjdk.java.net/browse/JDK-8099546
 which is still unresolved (and 6 years old!), so I'm guessing no.

Is it too late for Java 9?

I need a way to forward events to a scene and have them dispatched to the
correct node (mouse move, mouse press, etc.).  I'm not finding an easy way
to do it.  Even a Java 9 solution is too late for me anyway.  So if there
is some reasonable way to implement it for Java 8 please let me know.
 (There used to be impl_pickNode(double, double) but now it is more
complicated with PickRay and PickResultChooser and being undocumented I
haven't managed to get it to do anything useful yet.)

Scott


More information about the openjfx-dev mailing list