src/share/classes/javax/swing/JFrame.java
Print this page
*** 264,274 ****
if (supportsWindowDecorations) {
setUndecorated(true);
getRootPane().setWindowDecorationStyle(JRootPane.FRAME);
}
}
! sun.awt.SunToolkit.checkAndSetPolicy(this, true);
}
/**
* Called by the constructor methods to create the default
* <code>rootPane</code>.
--- 264,274 ----
if (supportsWindowDecorations) {
setUndecorated(true);
getRootPane().setWindowDecorationStyle(JRootPane.FRAME);
}
}
! sun.awt.SunToolkit.checkAndSetPolicy(this);
}
/**
* Called by the constructor methods to create the default
* <code>rootPane</code>.