From 385fe4259752e9ee63bfd6fdd5fc1c49a3d2109d Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sun, 12 Dec 2010 21:56:57 +0100 Subject: Add GearsApplet applet lifecycle message --- src/demos/applets/GearsApplet.java | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/demos') diff --git a/src/demos/applets/GearsApplet.java b/src/demos/applets/GearsApplet.java index 73bef96..046f117 100755 --- a/src/demos/applets/GearsApplet.java +++ b/src/demos/applets/GearsApplet.java @@ -15,6 +15,7 @@ public class GearsApplet extends Applet { private GLAnimatorControl animator; public void init() { + System.err.println("GearsApplet: init() - begin"); GLProfile.initSingleton(false); setLayout(new BorderLayout()); GLCanvas canvas = new GLCanvas(); @@ -22,14 +23,23 @@ public class GearsApplet extends Applet { canvas.setSize(getSize()); add(canvas, BorderLayout.CENTER); animator = new FPSAnimator(canvas, 60); + System.err.println("GearsApplet: init() - end"); } public void start() { + System.err.println("GearsApplet: start() - begin"); animator.start(); + System.err.println("GearsApplet: start() - end"); } public void stop() { // FIXME: do I need to do anything else here? + System.err.println("GearsApplet: stop() - begin"); animator.stop(); + System.err.println("GearsApplet: stop() - end"); + } + + public void destroy() { + System.err.println("GearsApplet: destroy() - X"); } } -- cgit v1.2.3