From 2c99aac7680070d2e0bc6339ef60ac108ff0f171 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Wed, 7 Sep 2011 03:30:24 +0200 Subject: Revert 98f9eef8279680a7fbd3fccb5840381faf1d5c01: removeNotify makes NEWT child invisible again --- src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java | 1 + 1 file changed, 1 insertion(+) 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); } } -- cgit v1.2.3