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:
committed by
Michael Koch
parent
8efaad2140
commit
7e89296c0b
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user