[3722] in java-interest

home help back first fref pref prev next nref lref last post

Calling Java Method from Native Method Handler

daemon@ATHENA.MIT.EDU (Brad Gaub)
Thu Nov 23 07:20:41 1995

Date: Thu, 23 Nov 95 10:08:42 UT
From: "Brad Gaub" <ZappoMan@msn.com>
To: "'Java Interest'" <java-interest@java.sun.com>


I am working on implementing a Native Method Handler.

I would like to call a method of either the Java class that wraps the native 
handler or a method of another Java object passed as a parameter to the 
native handler method.

*  Can this be done?
*  If so, how?
*  If not, how can a native handler "notify" a java class of native generated 
events?

I think an example of what I am trying to do is implemented in some manner by 
the native implementations of java.applet.Applet or java.awt.Component when 
they translate mouse messages in the native OS (like move, buttondown, etc.) 
into calls to handleEvent().

Thanks in advance for any assistance you can provide. 

-Brad
ZappoMan@msn.com
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post