jdk/src/share/classes/java/awt/Frame.java
changeset 12661 6cf8b7116579
parent 7668 d4a77089c587
child 15318 607db339afcc
equal deleted inserted replaced
12660:76c54631149e 12661:6cf8b7116579
   447         init(title, gc);
   447         init(title, gc);
   448     }
   448     }
   449 
   449 
   450     private void init(String title, GraphicsConfiguration gc) {
   450     private void init(String title, GraphicsConfiguration gc) {
   451         this.title = title;
   451         this.title = title;
   452         SunToolkit.checkAndSetPolicy(this, false);
   452         SunToolkit.checkAndSetPolicy(this);
   453     }
   453     }
   454 
   454 
   455     /**
   455     /**
   456      * Construct a name for this component.  Called by getName() when the
   456      * Construct a name for this component.  Called by getName() when the
   457      * name is null.
   457      * name is null.