summaryrefslogtreecommitdiffstats
path: root/src/demos/jrefract/JRefract.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/jrefract/JRefract.java')
-rwxr-xr-xsrc/demos/jrefract/JRefract.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/demos/jrefract/JRefract.java b/src/demos/jrefract/JRefract.java
index 436bd30..d625b43 100755
--- a/src/demos/jrefract/JRefract.java
+++ b/src/demos/jrefract/JRefract.java
@@ -56,7 +56,7 @@ import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
-import javax.media.nwi.NWCapabilities;
+import javax.media.opengl.GLCapabilities;
import javax.media.opengl.awt.GLJPanel;
import com.sun.opengl.util.Animator;
import com.sun.opengl.util.FPSAnimator;
@@ -135,7 +135,7 @@ public class JRefract {
inner.setClosable(true);
inner.setVisible(true);
- NWCapabilities caps = new NWCapabilities();
+ GLCapabilities caps = new GLCapabilities();
if (which == INFINITE) {
caps.setStencilBits(16);
}