title: Is it somehow possible to get a HWND of a JavaFX window in Java 9?
body: <p>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.</p>
  
  <p>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 <a href="http://download.java.net/java/jdk9/docs/api/java/awt/Taskbar.html" rel="nofollow">Java9</a> offers). The Java 9 API is still for AWT, so I hope I can get my project setup for Java 9 and JavaFX. </p>
  
  <p>I used to just call the private methods, but this will stop working. 
  Any solution is appreciated. Native calls are ok if they can be done using JNA or BridJ. </p>