The thing is that I would like to put some of my Java 3D worlds in beans to use them from an Scada software as active x controls.
I agree with Mark, not to use the Beanbox. The Beanbox is a very old thing and doesn't work correctly with Java 1.4. Netbeans or any other visual IDE is a good choice.
In short terms, all you have to do is following:
Create a BeanInfo class and a manifest file to specify the controls' interface, then create a jar file. http://java.sun.com/developer/onlineTraining/Beans/JBShortCourse/beans.html http://java.sun.com/developer/onlineTraining/new2java/supplements/2003/May03.html http://java.sun.com/developer/Books/javaprogramming/JAR/basics/manifest.html
Then create the Active X Control as described here: (Note: you need Visual C++ 6.0 or .NET to proceed this step) http://java.sun.com/j2se/1.4.2/docs/guide/beans/axbridge/developerguide/index.html
And now avoid the pitfalls described here: http://forum.java.sun.com/thread.jsp?forum=40&thread=480418&tstart=15&trange=15 http://forum.java.sun.com/thread.jsp?forum=40&thread=457628&tstart=15&trange=15
Good luck, Oliver
From: Robert Gomez-Reino Garrido <[EMAIL PROTECTED]> Reply-To: Discussion list for Java 3D API <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: [JAVA3D] Java 3D beans Date: Tue, 23 Mar 2004 11:48:09 +0100
Hi people, I know that this is not the place to post this but I tried in Java Beans forums and nobody replied me, looks like there is not a lot of activite there! And, on the other hand, here I had always a fast and nice answer :) The thing is that I would like to put some of my Java 3D worlds in beans to use them from an Scada software as active x controls. I just start reading about beans and I download the BDK but I am having some problems with the beanbox so I am staked! Apparently it is having problems loading the jar files. Can anybody, please, help me with this? The best would be that you answer only to me instead of answering to all the list. Sorry again. Cheers, Bobby
[EMAIL PROTECTED]
=========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
_________________________________________________________________ E-Mails sind Ihnen nicht schnell genug? http://www.msn.de/messenger MSN Messenger - Kommunikation in Echtzeit
=========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".