Hi there, I am trying to get Xith3d to work inside a NetBeans TopComponent.
I plan to get my hands dirty on Xith3d by developing a scenegraph-editor as netbeans-module. Nothing big, just a view of a scene with the ability to load models and to arrange them in 3d space as a visual playground.
I’ve had no luck so far, since I can not get the 3d canvas to behave “stable”. I can add the canvas as one of netbeans editor-tabs, but if I for example switch to another tab and then back, I see only a gray swing panel, but no xith graph anymore. The same happens, if I maximize the tab with a doubleclick on the titlebar.
I can reduce the problems somewhat by putting the canvas inside a JPanel and overriding the removeNotify()-method to not call the removeNotify()-method of the xith canvas.
So I assume, that the JOGL-renderer is somewhat “confused” by the way the add- and removeNotify()-Methods are called when it is used inside a TabbedPane or a JScollpane, etc.
Could someone with knowledge of the JOGL renderer give me advise, how to solve this problem? So far I am walking in the dark 

