Java AWT Native Interface (JAWT) is an interface for the Java programming language that enables rendering libraries compiled to native code to draw directly to a Java Abstract Window Toolkit (AWT) Canvas object drawing surface.
The JNI enables developers to add time-critical operations like mathematical calculations and 3D rendering.
The AWT Native Interface is designed to give developers access to an AWT Canvas for direct drawing with native code.
The AWT Native Interface was added to the Java platform with the J2SE 1.3 ("Kestrel") version.
The window information the native side needs will be in a JAWT_Win32DrawingSurfaceInfo structure (depending on the operating system) which can be retrieved with this line: dsi_win = (JAWT_Win32DrawingSurfaceInfo*)dsi->platformInfo;