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:
parent
8efaad2140
commit
7e89296c0b
2 changed files with 10 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue