< prev index next >
src/java.desktop/share/classes/javax/swing/JInternalFrame.java
Print this page
*** 1492,1501 ****
--- 1492,1502 ----
* @param y an integer giving the component's new vertical position,
* measured in pixels from the bottom of its container
* @param width an integer giving the component's new width in pixels
* @param height an integer giving the component's new height in pixels
*/
+ @SuppressWarnings("deprecation")
public void reshape(int x, int y, int width, int height) {
super.reshape(x, y, width, height);
validate();
repaint();
}
*** 1733,1742 ****
--- 1734,1744 ----
* @see #moveToFront
* @see #setSelected
* @see InternalFrameEvent#INTERNAL_FRAME_OPENED
* @see #setVisible
*/
+ @SuppressWarnings("deprecation")
public void show() {
// bug 4312922
if (isVisible()) {
//match the behavior of setVisible(true): do nothing
return;
*** 1764,1773 ****
--- 1766,1776 ----
setSelected(true);
} catch (PropertyVetoException pve) {}
}
}
+ @SuppressWarnings("deprecation")
public void hide() {
if (isIcon()) {
getDesktopIcon().setVisible(false);
}
super.hide();
< prev index next >