src/share/classes/java/awt/Window.java

Print this page

        

@@ -503,11 +503,11 @@
             setLocationByPlatform(locationByPlatformProp);
         }
 
         modalExclusionType = Dialog.ModalExclusionType.NO_EXCLUDE;
 
-        SunToolkit.checkAndSetPolicy(this, false);
+        SunToolkit.checkAndSetPolicy(this);
     }
 
     /**
      * Constructs a new, initially invisible window in the default size.
      *