× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I haven't done that myself, but when you call code in another language (e.g. 
RPG) from a Java class, that's called "native code" or "JNI". Support for JNI 
has been in the RPG compiler since V5R1 (I just looked in the RPG reference 
manual to check it out, and it references the RPG programmer's guide for more 
information). You may also need to read the Java JNI tutorials, although as I 
recall the one I read was mostly C++ oriented.

PC2 

-----Original Message-----
From: java400-l-bounces+pclapham=core-mark.com@xxxxxxxxxxxx 
[mailto:java400-l-bounces+pclapham=core-mark.com@xxxxxxxxxxxx] On Behalf Of 
Larry
Sent: March 13, 2006 18:19
To: java400-l@xxxxxxxxxxxx
Subject: Java and RPG - Registering Events


You may recall from some questions last week about calling Java from RPG 
through prototyped calls.  The JAR I am using produces PDF output, it is called 
iText and I got it working with RPG.

It does have some featured that require you to register an event handler and 
then create the code that will fire off when the events are triggered.

Is there anyway to duplicate this when creating your classes through RPG?

Thanks,

Larry


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.