M
Martijn Tonies
Hi,
Does anyone know if it's possible to create java classes via
JNI from native code and then attach event listeners to, for
example, a java.awt.Button. The event handler should be in
native code.
If not, what would be the alternative? I was thinking of a
small Java class that implements the listener interface and
then the native code can create that class, attach it to the
button as an event listener and attach native methods to
the listener-implementing class. That should be possible,
right?
--
Martijn Tonies
Database Workbench Lite for MySQL - FREE developer tool for MySQL!
Upscene Productions
http://www.upscene.com
My thoughts:
http://blog.upscene.com/martijn/
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com
Does anyone know if it's possible to create java classes via
JNI from native code and then attach event listeners to, for
example, a java.awt.Button. The event handler should be in
native code.
If not, what would be the alternative? I was thinking of a
small Java class that implements the listener interface and
then the native code can create that class, attach it to the
button as an event listener and attach native methods to
the listener-implementing class. That should be possible,
right?
--
Martijn Tonies
Database Workbench Lite for MySQL - FREE developer tool for MySQL!
Upscene Productions
http://www.upscene.com
My thoughts:
http://blog.upscene.com/martijn/
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com