bridj

Is it somehow possible to get a HWND of a JavaFX window in Java 9?

Deadly 提交于 2019-12-10 22:46:21
问题 Java 9 will restrict any access to private API. That means that the known methods of retrieving the window hwnd using Reflection won't work anymore. Is there still a way to get them? I ask because I have a library that offers an API for manipulating the Taskbar (in a similar way that Java9 offers). The Java 9 API is still for AWT, so I hope I can get my project setup for Java 9 and JavaFX. I used to just call the private methods, but this will stop working. Any solution is appreciated. Native