equal
deleted
inserted
replaced
652 if (supportsWindowDecorations) { |
652 if (supportsWindowDecorations) { |
653 setUndecorated(true); |
653 setUndecorated(true); |
654 getRootPane().setWindowDecorationStyle(JRootPane.PLAIN_DIALOG); |
654 getRootPane().setWindowDecorationStyle(JRootPane.PLAIN_DIALOG); |
655 } |
655 } |
656 } |
656 } |
657 sun.awt.SunToolkit.checkAndSetPolicy(this, true); |
657 sun.awt.SunToolkit.checkAndSetPolicy(this); |
658 } |
658 } |
659 |
659 |
660 /** |
660 /** |
661 * Called by the constructor methods to create the default |
661 * Called by the constructor methods to create the default |
662 * {@code rootPane}. |
662 * {@code rootPane}. |