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.
ModeImpl mi = obtainModeImpl();
TopComponentContainer tcc = mi.getContainerInstance();
if (tcc != null) {
tcc.reorder(orderedTcs);
WindowManagerImpl wm = (WindowManagerImpl)WindowManagerImpl.getDefault();
wm.deferredPerformer().putRequest(
new DeferredPerformer.DeferredCommand() {
public void performCommand(DeferredPerformer.DeferredContext context) {
}
},
new DeferredPerformer.DeferredContext(null, true)
);