diff options
author | Kenneth Russel <[email protected]> | 2008-10-30 00:36:37 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2008-10-30 00:36:37 +0000 |
commit | 1d4b8640e128143707e6c19f6249d6b4dba0d2a0 (patch) | |
tree | 6e84ac75c88aee73b60255048a00cfd301f8db3f /src/demos/gamma/TestGamma.java | |
parent | 0df738664c9ade75e38c3982560b5cf3e4cdf3df (diff) |
Incorporated patch from Michael Bien fixing roughly 80% of compilation errors
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@287 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
Diffstat (limited to 'src/demos/gamma/TestGamma.java')
-rwxr-xr-x | src/demos/gamma/TestGamma.java | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/demos/gamma/TestGamma.java b/src/demos/gamma/TestGamma.java index 17fb365..74a63a1 100755 --- a/src/demos/gamma/TestGamma.java +++ b/src/demos/gamma/TestGamma.java @@ -39,13 +39,15 @@ package demos.gamma; -import java.awt.*; -import java.awt.event.*; +import demos.gears.Gears; +import java.awt.Frame; +import java.awt.event.WindowAdapter; +import java.awt.event.WindowEvent; +import javax.media.opengl.awt.GLCanvas; +import javax.media.opengl.util.Animator; +import javax.media.opengl.util.Gamma; -import javax.media.opengl.*; -import com.sun.opengl.util.*; -import demos.gears.*; public class TestGamma { private static void usage() { @@ -89,7 +91,7 @@ public class TestGamma { }).start(); } }); - frame.show(); + frame.setVisible(true); animator.start(); if (!Gamma.setDisplayGamma(gamma, brightness, contrast)) { |