In response to:

"I am writing java applets, with some Java 3D in them.  I am using  JRE1.4.

I'd like to be able to detect whether a user has Java 3D installed, and warn them if 
they don't."

Create a method which returns a boolean and contains a try-catch block such as:

public boolean is Java3DLoaded(){
    boolean isloaded = false;
    try{
        Class.forName ("Canvas3D");
        isloaded = true;
    }catch(ClassNotFoundException cnfe){
        isloaded = false;
    }
    return isloaded;
}

===========================================================================
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".

Reply via email to