createEmbeddedFrame

context(env: JniEnv)
fun Awt.createEmbeddedFrame(platformInfo: COpaquePointer): JAwtFrame?(source)

Creates a java.awt.Frame placed in a native container. Container is referenced by the native platform handle:

  • on Windows - HWND

  • on Linux - Drawable

  • on macOS - NSWindow.

The reference returned by this function is a local reference that is only valid in this environment. This function returns null if no frame could be created with matching platform information.

Since

9