src/share/classes/javax/swing/JInternalFrame.java

Print this page

        

@@ -347,11 +347,11 @@
         isIcon = false;
         setVisible(false);
         setRootPaneCheckingEnabled(true);
         desktopIcon = new JDesktopIcon(this);
         updateUI();
-        sun.awt.SunToolkit.checkAndSetPolicy(this, true);
+        sun.awt.SunToolkit.checkAndSetPolicy(this);
         addPropertyChangeListenerIfNecessary();
     }
 
     /**
      * Called by the constructor to set up the <code>JRootPane</code>.