aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/classes/org/jdesktop/j3d/examples/jcanvas3d/JInternalWorld.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/classes/org/jdesktop/j3d/examples/jcanvas3d/JInternalWorld.java b/src/classes/org/jdesktop/j3d/examples/jcanvas3d/JInternalWorld.java
index 82b4beb..7193dc9 100644
--- a/src/classes/org/jdesktop/j3d/examples/jcanvas3d/JInternalWorld.java
+++ b/src/classes/org/jdesktop/j3d/examples/jcanvas3d/JInternalWorld.java
@@ -52,11 +52,9 @@ import com.sun.j3d.utils.universe.SimpleUniverse;
import java.awt.BorderLayout;
import java.awt.Component;
import java.awt.Dimension;
-import java.awt.GraphicsConfiguration;
import javax.media.j3d.Alpha;
import javax.media.j3d.BoundingSphere;
import javax.media.j3d.BranchGroup;
-import javax.media.j3d.GraphicsConfigTemplate3D;
import javax.media.j3d.RotationInterpolator;
import javax.media.j3d.Transform3D;
import javax.media.j3d.TransformGroup;
@@ -95,9 +93,7 @@ public class JInternalWorld extends JInternalFrame {
this.model = model;
model.addRow( new Object[]{new Integer( hashCode()), Integer.valueOf(0) });
- GraphicsConfiguration config = SimpleUniverse.getPreferredConfiguration();
-
- c = new JCanvas3D( new GraphicsConfigTemplate3D() );
+ c = new JCanvas3D();
if (true == isDelayed) {
c.setResizeMode(c.RESIZE_DELAYED);