Java AWT Native Interface 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 Java Native Interface (JNI) enabled developers to add platform-dependent functionality to Java applications. The JNI enables developers to add time-critical operations like mathematical calculations and 3D rendering. Previously, native 3D rendering was a problem because the native code didn't have access to the graphic context. The AWT Native Interface is designed to give developers access to an AWT Canvas for direct drawing by native code. In fact, the Java 3D API extension to the standard Java SE JDK relies heavily on the AWT Native Interface to render 3D objects in Java. The AWT Native Interface is very similar to the JNI, and, the steps are, in fact, the same as those of the JNI. See the Java Native Interface article for an explanation of the JNI techniques employed by the AWT Native Interface.
The AWT Native Interface was added to the Java platform with the J2SE 1.3 ("Kestrel") version.
Read more about Java AWT Native Interface: AWT Native Interface Steps, Native Painting
Famous quotes containing the word native:
“Those poor farmers who came up, that day, to defend their native soil, acted from the simplest of instincts. They did not know it was a deed of fame they were doing. These men did not babble of glory. They never dreamed their children would contend who had done the most. They supposed they had a right to their corn and their cattle, without paying tribute to any but their governors. And as they had no fear of man, they yet did have a fear of God.”
—Ralph Waldo Emerson (18031882)