Panama and Swing/AWT support

Clayton Walker clayton.m.walker at gmail.com
Wed May 24 17:28:18 UTC 2023


I am working on a project with one of the goals being able to use a swing
component as a render target. From the documentation here
<https://docs.oracle.com/javase/8/docs/technotes/guides/awt/AWT_Native_Interface.html>
I
assume we need jni in order to access the native PlatformInfo struct. My
question is the same as asked in this stackoverflow question
<https://stackoverflow.com/questions/75620948/how-do-i-get-the-hwnd-of-a-canvas-using-panama>,
is it possible to use panama to get the HWND of a swing window?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/panama-dev/attachments/20230524/a60ff7c7/attachment.htm>


More information about the panama-dev mailing list