Java AWT Native Interface: Difference between revisions

Content deleted Content added
Lot of changes, improved tone to be more encyclopedic. Still needs work.
Create the C header file: readding some changes that got lost in update problem
Line 38:
See the [[Java Native Interface]] article for an explanation of the <code>native</code> [[keyword]] and the <code>loadLibrary()</code> method. The <code>paint()</code> method will be simply invoked when the AWT [[event dispatching thread]] "repaints" the screen.
 
=== Create the C++ header file ===
 
Create the [[C== programming language]] [[header file]] as usual (See [[Java Native Interface]] for more complete explanation.)
 
Create the [[C header file]] as usual (See [[Java Native Interface]] for more complete explanation.)
The header file looks like this now: