|
|
@ -188,8 +188,10 @@ public class WindowsTitlePane extends CustomTitlePane { |
|
|
|
|
|
|
|
|
|
|
|
protected void uninstallDecorations() { |
|
|
|
protected void uninstallDecorations() { |
|
|
|
window = null; |
|
|
|
window = null; |
|
|
|
|
|
|
|
if (windowHandle != 0) { |
|
|
|
JNIDecorationsWindows.uninstallDecorations(windowHandle); |
|
|
|
JNIDecorationsWindows.uninstallDecorations(windowHandle); |
|
|
|
windowHandle = 0; |
|
|
|
windowHandle = 0; |
|
|
|
|
|
|
|
} |
|
|
|
rootPane.removeContainerListener(rootPaneContainerListener); |
|
|
|
rootPane.removeContainerListener(rootPaneContainerListener); |
|
|
|
rootPane.getLayeredPane().removeContainerListener(layeredPaneContainerListener); |
|
|
|
rootPane.getLayeredPane().removeContainerListener(layeredPaneContainerListener); |
|
|
|
if (menuBar != null) { |
|
|
|
if (menuBar != null) { |
|
|
|