diff options
-rw-r--r-- | src/main/java/org/jdesktop/j3d/examples/configured_universe/ConfigObjLoad.java | 3 | ||||
-rw-r--r-- | src/main/java/org/jdesktop/j3d/examples/configured_universe/j3d1x1-behavior.cfg | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/org/jdesktop/j3d/examples/configured_universe/ConfigObjLoad.java b/src/main/java/org/jdesktop/j3d/examples/configured_universe/ConfigObjLoad.java index 30e46c2..f49c6bf 100644 --- a/src/main/java/org/jdesktop/j3d/examples/configured_universe/ConfigObjLoad.java +++ b/src/main/java/org/jdesktop/j3d/examples/configured_universe/ConfigObjLoad.java @@ -321,7 +321,8 @@ public class ConfigObjLoad { init(); } - public static void main(String[] args) {System.setProperty("sun.awt.noerasebackground", "true"); + public static void main(String[] args) {System.setProperty("sun.awt.noerasebackground", "true"); + System.setProperty("j3d.configURL","file:src/main/java/org/jdesktop/j3d/examples/configured_universe/j3d1x1-behavior.cfg"); new ConfigObjLoad(args); } } diff --git a/src/main/java/org/jdesktop/j3d/examples/configured_universe/j3d1x1-behavior.cfg b/src/main/java/org/jdesktop/j3d/examples/configured_universe/j3d1x1-behavior.cfg index db56b2c..ce68fc6 100644 --- a/src/main/java/org/jdesktop/j3d/examples/configured_universe/j3d1x1-behavior.cfg +++ b/src/main/java/org/jdesktop/j3d/examples/configured_universe/j3d1x1-behavior.cfg @@ -119,7 +119,7 @@ // getUniverse(), checking to see if the returned SimpleUniverse is a // ConfiguredUniverse, and then calling its getNamedSensors() method. // -(NewViewPlatformBehavior vpb com.sun.j3d.utils.behaviors.vp.OrbitBehavior) +(NewViewPlatformBehavior vpb org.jogamp.java3d.utils.behaviors.vp.OrbitBehavior) // Set the scheduling bounds to be a BoundingSphere with its center at // (0.0 0.0 0.0) and a radius of 100 meters. |