Andrea Boright wrote:
> I will also be checking if the user has JRE1.4 (via the CODEBASE parameter in the 
>OBJECT tag).  I want to check for JRE1.4 and J3d at the same time.  That is, if the 
>user doesn't have JRE1.4 and doesn't have J3D, I don't want them to have to download 
>just JRE1.4, load the applet again, only to find a message that they don't have J3D, 
>and then have to go download that.
>
> Does anyone know a way to detect both at the same time?

That is up to the specification you put into the manifest file for your
applet's JAR. Have a read around the spec docs with the JDK for details
on this, but it's relatively simple to do. As an example, here is a
manifest entry that we use in Xj3D for the Java3d rendering component:

Class-Path: xj3d-norender.jar xj3d-core.jar xj3d-parser.jar xj3d-sav.jar
Class-Path: xj3d-net.jar uri.jar j3d-org.jar
Extension-List: java3d
java3d-Extension-Name: javax.media.j3d
java3d-Specification-Version: 1.2
java3d-Implementation-Version: 1.2.1.04
java3d-Implementation-Vendor-Id: com.sun
java3d-Implementation-Title: Java3D Core Runtime Environment
java3d-Implementation-URL:
http://java.sun.com/products/autodl/java3d/prefer_ogl/java3d-$(os.name)$.jar
Extension-Name: xj3d
Specification-Vendor: Web3d Consortium
Specification-Version: 3.0
Implementation-Vendor-Id: com.yumetech
Implementation-Vendor: Yumetech, Inc
Implementation-Version: 2.0


--
Justin Couch                         http://www.vlc.com.au/~justin/
Java Architect & Bit Twiddler              http://www.yumetech.com/
Author, Java 3D FAQ Maintainer                  http://www.j3d.org/
-------------------------------------------------------------------
"Humanism is dead. Animals think, feel; so do machines now.
Neither man nor woman is the measure of all things. Every organism
processes data according to its domain, its environment; you, with
all your brains, would be useless in a mouse's universe..."
                                               - Greg Bear, Slant
-------------------------------------------------------------------

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