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 + 1 file changed, 1 insertion(+) (limited to 'src/demos/hwShadowmapsSimple') 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(); } }); } -- cgit v1.2.3