How to remove exception like Element already has a logical parent. It must be detached from the old parent before it is attached to a new one.
ToolWindowContainer con = newToolWindowContainer();
toolwindow that i want to add in the con(ToolwindowContainer) is attached with the Logical parent that is its container.
If i reterieve the container using
ToolWindowContainer ablContainer = toolWindow.Parent asToolWindowContainer;
and then close this container using
its working fine.
But I don't want to close this container attached with the toolwindow.
So how to solve this problem without closing this container attached with the toolwindow.
[Modified 7 years ago]