Java AWT Native Interface: Difference between revisions

Content deleted Content added
Csabo (talk | contribs)
Line 90:
Type this in a file named "NativeSideCanvas.cpp" and compile into a library. See [[Java Native Interface]] for a more complete explanation.
 
(Microsoft) Don't forget to link this with "jawt.lib" and "gdi32.lib". These libraries are needed because the code draws a rectangle using routines from these libraries.
 
Microsoft C++: