<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr"></div><div dir="ltr">Hi,</div><div dir="ltr"><br></div><div dir="ltr">I think it’s a great initiative. I’m not expert at Swing, but you may try to look at awt.peer package which provides low level bindings between AWT and system libraries.</div><div dir="ltr"><br></div><div dir="ltr">Kind regards,</div><div dir="ltr">Radek</div><div dir="ltr"><br><blockquote type="cite">On 24 May 2023, at 19:56, Clayton Walker <clayton.m.walker@gmail.com> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><div dir="ltr">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 <a href="https://docs.oracle.com/javase/8/docs/technotes/guides/awt/AWT_Native_Interface.html">here</a> I assume we need jni in order to access the native PlatformInfo struct. My question is the same as asked in <a href="https://stackoverflow.com/questions/75620948/how-do-i-get-the-hwnd-of-a-canvas-using-panama">this stackoverflow question</a>, is it possible to use panama to get the HWND of a swing window?</div>
</div></blockquote></body></html>