< prev index next >
src/java.desktop/share/classes/com/sun/java/swing/plaf/windows/WindowsPopupWindow.java
Print this page
*** 76,85 ****
--- 76,86 ----
public void update(Graphics g) {
paint(g);
}
+ @SuppressWarnings("deprecation")
public void hide() {
super.hide();
/** We need to call removeNotify() here because hide() does
* something only if Component.visible is true. When the app
* frame is miniaturized, the parent frame of this frame is
*** 87,96 ****
--- 88,98 ----
* is invisible and causing hide() to do nothing
*/
removeNotify();
}
+ @SuppressWarnings("deprecation")
public void show() {
super.show();
this.pack();
}
}
< prev index next >