From 95ea4470e7a9dd79dd502db800333e350f311d3d Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Wed, 22 Mar 2023 17:02:32 +0100 Subject: UISceneDemo0[01]: Useless minor editing (can't move animator lower as sadly used in our window dtor event handler) --- src/demos/com/jogamp/opengl/demos/graph/ui/UISceneDemo00.java | 1 - src/demos/com/jogamp/opengl/demos/graph/ui/UISceneDemo01.java | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/demos/com/jogamp/opengl/demos/graph/ui/UISceneDemo00.java b/src/demos/com/jogamp/opengl/demos/graph/ui/UISceneDemo00.java index c6cab3e2e..e096a1c00 100644 --- a/src/demos/com/jogamp/opengl/demos/graph/ui/UISceneDemo00.java +++ b/src/demos/com/jogamp/opengl/demos/graph/ui/UISceneDemo00.java @@ -86,7 +86,6 @@ public class UISceneDemo00 { scene.addShape(shape); final Animator animator = new Animator(); - animator.setUpdateFPSFrames(1*60, System.err); final GLCapabilities caps = new GLCapabilities(glp); caps.setAlphaBits(4); diff --git a/src/demos/com/jogamp/opengl/demos/graph/ui/UISceneDemo01.java b/src/demos/com/jogamp/opengl/demos/graph/ui/UISceneDemo01.java index 127fbbe72..8eff0d9f3 100644 --- a/src/demos/com/jogamp/opengl/demos/graph/ui/UISceneDemo01.java +++ b/src/demos/com/jogamp/opengl/demos/graph/ui/UISceneDemo01.java @@ -93,7 +93,6 @@ public class UISceneDemo01 { scene.addShape(shape); final Animator animator = new Animator(); - animator.setUpdateFPSFrames(1*60, null); // System.err); final GLCapabilities caps = new GLCapabilities(glp); caps.setAlphaBits(4); @@ -117,6 +116,7 @@ public class UISceneDemo01 { scene.attachInputListenerTo(window); + animator.setUpdateFPSFrames(1*60, null); // System.err); animator.add(window); animator.start(); -- cgit v1.2.3