This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 21946
Collapse All | Expand All

(-)org/netbeans/core/windows/layers/ModeData.java (-1 / +9 lines)
Lines 780-786 Link Here
780
            ModeImpl mi = obtainModeImpl();
788
            ModeImpl mi = obtainModeImpl();
781
            TopComponentContainer tcc = mi.getContainerInstance();
789
            TopComponentContainer tcc = mi.getContainerInstance();
782
            if (tcc != null) {
790
            if (tcc != null) {
783
                tcc.reorder(orderedTcs);
791
                WindowManagerImpl wm = (WindowManagerImpl)WindowManagerImpl.getDefault();
792
                wm.deferredPerformer().putRequest(
793
                    new DeferredPerformer.DeferredCommand() {
794
                        public void performCommand(DeferredPerformer.DeferredContext context) {
795
                            tcc.reorder(orderedTcs);
796
                        }
797
                    },
798
                    new DeferredPerformer.DeferredContext(null, true)
799
                );
784
            }
800
            }
785
        }
801
        }
786
802

Return to bug 21946