Content deleted Content added
howto, no duplicate see also links, wikibooks -> templ |
OR - copying DLL and other things are OR/not recommended/fact |
||
Line 1:
{{multiple|tone=June 2012|unreferenced=June 2012|
'''Java AWT Native Interface''' 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}} [[object (computer science)|object]] drawing surface.
Line 23 ⟶ 22:
One should run the file as usual. One should then see a window with, for example, a rectangle drawn in it. (See [[Java Native Interface]] for complete instructions.)
Note: One can notice that the AWT Native Interface requires the "jawt.dll" (or "jawt.so") to run with the application, so the easiest way to do that is copying the "jawt.dll" (should be in the .../jre/bin [[file path]] of the JDK's installation path.){{fact|date=June 2012}}
== Native painting ==
|