summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-09-07 03:30:24 +0200
committerSven Gothel <[email protected]>2011-09-07 03:30:24 +0200
commit2c99aac7680070d2e0bc6339ef60ac108ff0f171 (patch)
tree10df0184dc455f57e0cc22d920bc0bbc01f07019
parent6ff7ba18a549a3fef9fcb01a2944bd0907799864 (diff)
Revert 98f9eef8279680a7fbd3fccb5840381faf1d5c01: removeNotify makes NEWT child invisible again
-rw-r--r--src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java b/src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java
index 3eb97b3f9..5c242d0e7 100644
--- a/src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java
+++ b/src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java
@@ -233,6 +233,7 @@ public class NewtCanvasAWT extends java.awt.Canvas implements WindowClosingProto
} else {
configureNewtChild(false);
nativeWindow = null;
+ newtChild.setVisible(false);
newtChild.reparentWindow(null);
}
}