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
This commit is contained in:
Michael Koch 2003-04-29 07:51:46 +00:00 committed by Michael Koch
parent 8efaad2140
commit 7e89296c0b
2 changed files with 10 additions and 2 deletions

View 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()