I have a custom component that I instantiate and add it to a
Canvas. Then I remove all children of the canvas and add a tab.
Then again on a user action I remove the tab and add the already
present custom component (created the first time I added it to the
canvas and this is stored in an ArrayCollection) to the canvas as a
child but now it does not show up on the screen. It shows no
When I tried to add a newly created object of the custom
component there is no such problem. But this is not possible due to
the nature of my application. Could someone help in this regard?