diff options
Diffstat (limited to 'src/demos/misc/Picking.java')
-rwxr-xr-x | src/demos/misc/Picking.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/demos/misc/Picking.java b/src/demos/misc/Picking.java index 1fd3963..9d50284 100755 --- a/src/demos/misc/Picking.java +++ b/src/demos/misc/Picking.java @@ -14,6 +14,7 @@ import java.awt.*; import java.awt.event.*; import java.awt.Canvas.*; import java.nio.*; +import javax.media.nwi.*; import javax.media.opengl.*; import javax.media.opengl.awt.GLCanvas; import javax.media.opengl.glu.*; @@ -31,7 +32,7 @@ public class Picking { Frame frame = new Frame("Picking Example"); GLDrawableFactory factory = GLDrawableFactory.getFactory(); - GLCapabilities capabilities = new GLCapabilities(); + NWCapabilities capabilities = new NWCapabilities(); GLCanvas drawable = new GLCanvas(capabilities); final Renderer renderer = new Renderer(); drawable.addGLEventListener(renderer); |