Commit 7e89296c by Michael Koch Committed by Michael Koch

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.

From-SVN: r66208
parent 8efaad21
2003-04-29 Michael Koch <konqueror@gmx.de> 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, * java/util/zip/Deflater.java,
java/util/zip/DeflaterOutputStream.java: java/util/zip/DeflaterOutputStream.java:
Partly merged with classpath. Partly merged with classpath.
......
...@@ -213,14 +213,14 @@ public class Window extends Container ...@@ -213,14 +213,14 @@ public class Window extends Container
addNotify(); addNotify();
validate(); validate();
setVisible (true); super.show();
toFront(); toFront();
} }
public void hide() public void hide()
{ {
// FIXME: call hide() on any "owned" children here. // FIXME: call hide() on any "owned" children here.
setVisible (false); super.hide();
} }
public boolean isDisplayable() public boolean isDisplayable()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment