2003-04-29 Michael Koch <konqueror@gmx.de>
authorMichael Koch <konqueror@gmx.de>
Tue, 29 Apr 2003 07:51:46 +0000 (07:51 +0000)
committerMichael Koch <mkoch@gcc.gnu.org>
Tue, 29 Apr 2003 07:51:46 +0000 (07:51 +0000)
* java/awt/Window.java
(show): Call super.show() instead of setVisible() to avoid endless
loop.
(hide): Call super.hide() instead of setVisible() to avoid endless
loop.

From-SVN: r66208

libjava/ChangeLog
libjava/java/awt/Window.java

index 21c66dba3f64ec2ca30246ef0d6fbff1f48883c6..d562ba254a0048c7cda0fe93ec2b0abe05f31d3e 100644 (file)
@@ -1,3 +1,11 @@
+2003-04-29  Michael Koch  <konqueror@gmx.de>
+
+       * java/awt/Window.java
+       (show): Call super.show() instead of setVisible() to avoid endless
+       loop.
+       (hide): Call super.hide() instead of setVisible() to avoid endless
+       loop.
+
 2003-04-29  Michael Koch  <konqueror@gmx.de>
 
        * java/util/zip/Deflater.java,
index 80c47594397ac7f8f090d7242a86caca9a1ee67e..d8a99542eafc10b1747e485bd96608f44bf93ef2 100644 (file)
@@ -213,14 +213,14 @@ public class Window extends Container
       addNotify();
 
     validate();
-    setVisible (true);
+    super.show();
     toFront();
   }
 
   public void hide()
   {
     // FIXME: call hide() on any "owned" children here.
-    setVisible (false);
+    super.hide();
   }
 
   public boolean isDisplayable()