Content deleted Content added
m →Implement the C++ native code: Solaris disamb |
|||
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++:
|