Use `new HWND(Native.getComponentPointer(frame))`

No need to hang on to the peer.