Package geomss.app
Class Test4Java3D
- java.lang.Object
-
- geomss.app.Test4Java3D
-
public class Test4Java3D extends java.lang.Object
A class used to test for the existence of Java3D. If this class fails to load or throws an Exception of any kind, then the correct version of Java3D was not found.Modified by: Joseph A. Huwaldt
- Version:
- February 17, 2025
- Author:
- Joseph A. Huwaldt, Date: June 19, 2010
-
-
Constructor Summary
Constructors Constructor Description Test4Java3D()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
test(int primary, int secondary)
Call this method to test for Java3D.
-
-
-
Constructor Detail
-
Test4Java3D
public Test4Java3D()
-
-
Method Detail
-
test
public static java.lang.String test(int primary, int secondary) throws java.lang.Exception
Call this method to test for Java3D. If it throws an exception, then the correct version of Java3D was not found (and the Exception will have the Java3D version number as it's message ornull
if Java3D could not be found at all. If it returns normally, then it this method will return the version of Java3D found.- Parameters:
primary
- The primary version number to look for (1 if the desired version is > 1).secondary
- The secondary version number to look for (5 if the desired version is > 5).- Returns:
- The version of Java3D found.
- Throws:
java.lang.Exception
- if the correct version of Java 3D could not be found.
-
-