src/share/classes/java/awt/Frame.java

Print this page

        

@@ -447,11 +447,11 @@
         init(title, gc);
     }
 
     private void init(String title, GraphicsConfiguration gc) {
         this.title = title;
-        SunToolkit.checkAndSetPolicy(this, false);
+        SunToolkit.checkAndSetPolicy(this);
     }
 
     /**
      * Construct a name for this component.  Called by getName() when the
      * name is null.