Java AWT Native Interface: Difference between revisions

Content deleted Content added
Line 92:
#include <assert.h>
#include "JavaSideCanvas.h"
JNIEXPORT void JNICALL Java_JavaSideCanvas_paint(JNIEnv* env, jobject canvas, jobject graphics)
Java_MyCanvas_paint(JNIEnv* env, jobject canvas, jobject graphics)
{
JAWT awt;
Line 141 ⟶ 140:
 
The code above should be self-explanatory
 
===4. Run the Example===
Run the file as usual (See [[Java Native Interface]])