Hi,

Jason Goh Thiam Hock wrote:

> Hi,
>
> I am trying to use ClassLoader or Class to load java3d class
> dynamically at run-time but not very successful.
>
> I succeeded in classloader the class using the java3d file name at run
> time (and use an interface of the java3d class so that at runtime, a
> class implements it) but cannot instantiate it (give me a
> instantiation error).
> In addition, I would like to access the constructors and methods in
> the "called-up class".
>
> How to go about solving this problem?
>
> Any help is greatly appreciated.

Check out http://the.bang.is/
Download the client.
Uncompress the .zip file.
Take a look at org\bang\view\Viewer.java and
the method loadApp3D(String theURLname, String theAppName, boolean doMU)

Also check out org\bang\LoadInterface3D.java

With warm regards,
R�bert Vi�ar Bjarnason
[EMAIL PROTECTED]


�����������������������
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/

Reply via email to