Hi,
In order to reuse current components I need to call an ActiveX control
inside a Java applet or a Java program.
Could you tell me how this one is possible or where I can look for document
about that ?
And also, is there a way to call a Java applet inside another applet ?
Thanks very much for your help
Franx
Thomas Weidenfeller - 13 May 2004 10:19 GMT
> In order to reuse current components I need to call an ActiveX control
> inside a Java applet or a Java program.
> Could you tell me how this one is possible or where I can look for document
> about that ?
Search the net and comp.lang.java.programmer for what is called a
Java-COM bridge. It has been discussed a lot, at least for applications.
/Thomas
Roedy Green - 13 May 2004 10:19 GMT
>In order to reuse current components I need to call an ActiveX control
>inside a Java applet or a Java program.
you must write come glue code that calls you active X from C, and
interface that to Java via JNI. This means your Applet must be signed.
see http://mindprod.com/jgloss/signedapplet.html
http://mindprod.com/jgloss/jni.html

Signature
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
Andrew Thompson - 13 May 2004 10:24 GMT
> In order to reuse current components I need to call an ActiveX control
> inside a Java applet
A Java _applet_ would need to be signed
in order to call an ActiveX control.
I would not begin to know how to call ActiveX.
>..or a Java program.
...
> And also, is there a way to call a Java applet inside another applet ?
What exactly do you mean?
One applet can open the URL of another
page containing a second applet.
It is also possible to 'house' one applet
inside the bounds of another.
AFAIU it is also possible to get applets
in the same page to talk to each other,
though I have never seen it working.
HTH

Signature
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology