Canvas3DPanel and changing containers

I have a strange problem with putting a Canvas3DPanel into changing containers.

Description:
I have three ExtXith3DEnvironments with a simple rotating cube in each.
I have a JFrame with a GridLayout(1, 1)
It holds a JTabbedPane with three JPanels with GridLayout(1, 1)
The first one gets a Canvas3DPanel
When tabs are switched, the Canvas3DPanel is removed from the JPanel in the current (first) tab and added to the JPanel of the new current tab
Additionally the Canvas3DPanel is removed from the current Environment and added to the new current one.

This works for 0 -> 1, 1->2 or any other permutation.

But… When I switch to a tab that previously holded the Canvas3DPanel it doesn’t get rendered. It seems like the problem is once a Canvas3D has been removed from its View you cannot re-add it.

I’ve attached my test code.

Thanks in advance

Qudus

Woooohoo ! 8 votes for Eclipse ;D It really rocks…

[quote="<MagicSpark.org [ BlueSky ]>,post:2,topic:27778"]
Woooohoo ! 8 votes for Eclipse ;D It really rocks…
[/quote]
It does, actually. Maybe this thread should be made sticky, because this is a question ever interesting for the leb developers.

But why do you post in this thread. And did you take a look at my problem from this thread?

It does, actually. Maybe this thread should be made sticky, because this is a question ever interesting for the leb developers.

But why do you post in this thread. And did you take a look at my problem from this thread?
[/quote]
Ahem ^^ small mistake, don’t know why.