summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/classes/share/com/sun/j3d/utils/scenegraph/io/retained/Controller.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/classes/share/com/sun/j3d/utils/scenegraph/io/retained/Controller.java b/src/classes/share/com/sun/j3d/utils/scenegraph/io/retained/Controller.java
index 1b80b2d..6d92371 100644
--- a/src/classes/share/com/sun/j3d/utils/scenegraph/io/retained/Controller.java
+++ b/src/classes/share/com/sun/j3d/utils/scenegraph/io/retained/Controller.java
@@ -115,6 +115,14 @@ public abstract class Controller extends java.lang.Object {
*/
protected int outputFileVersion = 2;
+ /**
+ * When running the application within webstart this may not be the
+ * correct ClassLoader. If Java 3D is not installed in the local vm and
+ * is instead installed by webstart then this definitely is NOT the correct
+ * classloader, in this case Thread.getCurrent().getClass().getClassLoader()
+ * would probably be a good default. The user can also set their preferred
+ * classloader by calling setClassLoader in SceneGraph[Stream|File]Reader.
+ */
protected ClassLoader classLoader = ClassLoader.getSystemClassLoader();
/**