src/share/classes/javax/swing/JInternalFrame.java
Print this page
*** 347,357 ****
isIcon = false;
setVisible(false);
setRootPaneCheckingEnabled(true);
desktopIcon = new JDesktopIcon(this);
updateUI();
! sun.awt.SunToolkit.checkAndSetPolicy(this, true);
addPropertyChangeListenerIfNecessary();
}
/**
* Called by the constructor to set up the <code>JRootPane</code>.
--- 347,357 ----
isIcon = false;
setVisible(false);
setRootPaneCheckingEnabled(true);
desktopIcon = new JDesktopIcon(this);
updateUI();
! sun.awt.SunToolkit.checkAndSetPolicy(this);
addPropertyChangeListenerIfNecessary();
}
/**
* Called by the constructor to set up the <code>JRootPane</code>.