aboutsummaryrefslogtreecommitdiffstats
path: root/src/demos/com/jogamp/opengl
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-03-19 08:55:47 +0100
committerSven Gothel <[email protected]>2023-03-19 08:55:47 +0100
commit8eb70fb10a4f81c93dbc4ed12571a67ffbc1649a (patch)
treee75b339055d7be131db2b93d7ddf40b2e633713e /src/demos/com/jogamp/opengl
parent860c550033c46299460ae751e91ecc491abfe549 (diff)
GraphUI UISceneDemo01: Fix disposal, use windowDestroyed() WindowListener to stop animator
Diffstat (limited to 'src/demos/com/jogamp/opengl')
-rw-r--r--src/demos/com/jogamp/opengl/demos/graph/ui/UISceneDemo01.java3
1 files changed, 1 insertions, 2 deletions
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 a2b8f5061..ede9cd829 100644
--- a/src/demos/com/jogamp/opengl/demos/graph/ui/UISceneDemo01.java
+++ b/src/demos/com/jogamp/opengl/demos/graph/ui/UISceneDemo01.java
@@ -63,7 +63,7 @@ import com.jogamp.opengl.util.av.GLMediaPlayer;
import com.jogamp.opengl.util.av.GLMediaPlayerFactory;
/**
- * Basic UIScene demo using a single UIShape.
+ * Res independent Shape, in Scene attached to GLWindow showing simple linear Shape movement w/ listener attached.
*/
public class UISceneDemo01 {
static final boolean DEBUG = false;
@@ -233,7 +233,6 @@ public class UISceneDemo01 {
}
try { Thread.sleep(1000); } catch (final InterruptedException e1) { }
System.err.println("The End ..");
- animator.stop();
window.destroy();
}