Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / May 2004

Tip: Looking for answers? Try searching our database.

ActiveX and Applet

Thread view: 
Pascal - 13 May 2004 10:00 GMT
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



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.