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 (-3 / +11 lines)
Lines 776-786 Link Here
776
                    }
784
                    }
777
                }
785
                }
778
            }
786
            }
779
            List orderedTcs = updateCompOrder(refs);
787
            final List orderedTcs = updateCompOrder(refs);
780
            ModeImpl mi = obtainModeImpl();
788
            ModeImpl mi = obtainModeImpl();
781
            TopComponentContainer tcc = mi.getContainerInstance();
789
            final 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