<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=Java_AWT_Native_Interface</id>
	<title>Java AWT Native Interface - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=Java_AWT_Native_Interface"/>
	<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Java_AWT_Native_Interface&amp;action=history"/>
	<updated>2026-04-21T21:05:37Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://debianws.lexgopc.com/wiki143/index.php?title=Java_AWT_Native_Interface&amp;diff=2309533&amp;oldid=prev</id>
		<title>imported&gt;KMaster888: ce</title>
		<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Java_AWT_Native_Interface&amp;diff=2309533&amp;oldid=prev"/>
		<updated>2024-12-31T13:29:05Z</updated>

		<summary type="html">&lt;p&gt;ce&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Multiple issues|&lt;br /&gt;
{{unreferenced|date=June 2012}}&lt;br /&gt;
{{original research|date=June 2012}}&lt;br /&gt;
{{tone|date=June 2012}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Java AWT Native Interface&amp;#039;&amp;#039;&amp;#039; (&amp;#039;&amp;#039;&amp;#039;JAWT&amp;#039;&amp;#039;&amp;#039;) is an interface for the [[Java (programming language)|Java programming language]] that enables [[Rendering (computer graphics)|rendering]] [[library (computer science)|libraries]] compiled to [[native code]] to draw directly to a Java [[Abstract Window Toolkit]] (AWT) {{Javadoc:SE|java/awt|Canvas|module=java.desktop}} [[object (computer science)|object]] drawing surface.&lt;br /&gt;
&lt;br /&gt;
The [[Java Native Interface]] (JNI) allows developers to add platform-dependent functionality to [[Java (programming language)|Java]] [[application software|applications]]. The JNI enables developers to add time-critical operations like [[Mathematics|mathematical]] calculations and [[3D rendering]]. &lt;br /&gt;
&lt;br /&gt;
Previously, native 3D rendering was challenging because the native code did not have access to the graphic context. The AWT Native Interface is designed to give developers access to an AWT &amp;lt;code&amp;gt;Canvas&amp;lt;/code&amp;gt; for direct drawing with 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. &lt;br /&gt;
&lt;br /&gt;
The AWT Native Interface is very similar to the JNI, and the steps are 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 [[Java Platform, Standard Edition|J2SE]] 1.3 (&amp;quot;Kestrel&amp;quot;) version.&lt;br /&gt;
&lt;br /&gt;
== Native painting ==&lt;br /&gt;
One can paint as if it is a native application. In [[Microsoft Windows|Windows]], the JVM will pass a HWND and other window information to the native application so that the application will &amp;quot;know&amp;quot; where to draw. It could use GDI to draw a Rectangle. The window information the native side needs will be in a &amp;lt;code&amp;gt;JAWT_Win32DrawingSurfaceInfo&amp;lt;/code&amp;gt; structure (depending on the [[operating system]]) which can be retrieved with this line: {{code|lang=c|1=dsi_win = (JAWT_Win32DrawingSurfaceInfo*)dsi-&amp;gt;platformInfo;}}&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{reflist}}&lt;br /&gt;
&lt;br /&gt;
== External links==&lt;br /&gt;
{{Portal|Computer programming}}&lt;br /&gt;
{{Wikibooks|Java Swings/AWT}}&lt;br /&gt;
*[https://docs.oracle.com/javase/8/docs/technotes/guides/awt/AWT_Native_Interface.html The AWT Native Interface]&lt;br /&gt;
*[https://www.infoworld.com/article/2077589/java-tip-86--support-native-rendering-in-jdk-1-3.html Support native rendering in JDK 1.3]&lt;br /&gt;
&lt;br /&gt;
{{Java desktop}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Java platform|AWT Native Interface]]&lt;/div&gt;</summary>
		<author><name>imported&gt;KMaster888</name></author>
	</entry>
</feed>