summaryrefslogtreecommitdiffstats
path: root/src/net/java/joglutils/msg/test/DisplayShelf.java
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2009-07-18 23:32:24 +0000
committerKenneth Russel <[email protected]>2009-07-18 23:32:24 +0000
commita33fade58b3cf22b72241767e6615042a5ed22c1 (patch)
tree0f9700cb59193afbf27fef9481b2a28c2d14938d /src/net/java/joglutils/msg/test/DisplayShelf.java
parent190d2e62712a7de5ee8e9a7989157d06b34aedd9 (diff)
Updates to joglutils workspace to work with JOGL 2 APIs. Cleaned up
build process. Added targets for joglutils.jar and joglutils-demos.jar as well as javadoc. Deleted build directory from svn. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@103 83d24430-9974-4f80-8418-2cc3294053b9
Diffstat (limited to 'src/net/java/joglutils/msg/test/DisplayShelf.java')
-rw-r--r--src/net/java/joglutils/msg/test/DisplayShelf.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/java/joglutils/msg/test/DisplayShelf.java b/src/net/java/joglutils/msg/test/DisplayShelf.java
index de08225..1e3bab7 100644
--- a/src/net/java/joglutils/msg/test/DisplayShelf.java
+++ b/src/net/java/joglutils/msg/test/DisplayShelf.java
@@ -48,6 +48,7 @@ import java.net.*;
import javax.swing.*;
import javax.media.opengl.*;
+import javax.media.opengl.awt.*;
/**
* A test implementing a 3D display shelf component.
@@ -134,7 +135,7 @@ public class DisplayShelf {
}
DisplayShelfRenderer renderer = new DisplayShelfRenderer(model);
- GLCanvas canvas = new GLCanvas(new GLCapabilities(), null, renderer.getSharedContext(), null);
+ GLCanvas canvas = new GLCanvas(new GLCapabilities(GLProfile.getDefault()), null, renderer.getSharedContext(), null);
canvas.setFocusable(true);
canvas.addGLEventListener(renderer);
f.add(canvas);