Is there a way to tell what version of Java3D I am running? Via OS, command line, programmatically, whatever?
Try this:
Boolean bool = (Boolean)AccessController.doPrivileged (
new PrivilegedAction() {
public Object run() {
try {
Class cls =Class.forName("javax.media.j3d.SceneGraphObject");
Package pkg = cls.getPackage(); return new Boolean(pkg.isCompatibleWith("1.3"));
} catch(ClassNotFoundException cnfe) {
return Boolean.FALSE;
}
}
}
);
-- 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".
