From 509353b529f6da6f50221d84adbc0a6de8308f54 Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Thu, 24 Feb 2005 00:35:49 +0000 Subject: Added needed repaint() call after key events in demos where Animator isn't being used any more git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@59 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4 --- src/demos/hwShadowmapsSimple/HWShadowmapsSimple.java | 1 + src/demos/infiniteShadowVolumes/InfiniteShadowVolumes.java | 1 + 2 files changed, 2 insertions(+) (limited to 'src') diff --git a/src/demos/hwShadowmapsSimple/HWShadowmapsSimple.java b/src/demos/hwShadowmapsSimple/HWShadowmapsSimple.java index d36b7c6..f8a01aa 100644 --- a/src/demos/hwShadowmapsSimple/HWShadowmapsSimple.java +++ b/src/demos/hwShadowmapsSimple/HWShadowmapsSimple.java @@ -276,6 +276,7 @@ public class HWShadowmapsSimple { drawable.addKeyListener(new KeyAdapter() { public void keyPressed(KeyEvent e) { dispatchKey(e.getKeyChar()); + canvas.repaint(); } }); } diff --git a/src/demos/infiniteShadowVolumes/InfiniteShadowVolumes.java b/src/demos/infiniteShadowVolumes/InfiniteShadowVolumes.java index 91eb6e6..1f9bdca 100644 --- a/src/demos/infiniteShadowVolumes/InfiniteShadowVolumes.java +++ b/src/demos/infiniteShadowVolumes/InfiniteShadowVolumes.java @@ -204,6 +204,7 @@ public class InfiniteShadowVolumes { drawable.addKeyListener(new KeyAdapter() { public void keyTyped(KeyEvent e) { dispatchKey(e.getKeyChar()); + canvas.repaint(); } }); -- cgit v1.2.3