Embedding Xith3D in Swing?

Hi,

is it possible to integrate Xith3D in an swing application?
I’m writing a multimedial tutorial for demonstration rotation and transformation via matrices.
The application is written as a swing-application, so I only want to add new chapters which uses Xith3D.

I’ve searched the web, but I didn’t found anything with this topic (only integrating swing in a Xith-App, but this is not what I need)

Any advice would be very helpful :wink:

Thanks,
Marc

http://www.java-gaming.org/cgi-bin/JGNetForums/YaBB.cgi?board=xith3d;action=display;num=1075405999

added thread - http://xith.org/tiki-index.php?page=InterestingThreads

Will.

[quote]http://www.java-gaming.org/cgi-bin/JGNetForums/YaBB.cgi?board=xith3d;action=display;num=1075405999
[/quote]
Hi,

thanks for this hint.
But unfortunately it doesn’t work at all (my programm, not the example). I get an “net.java.games.jogl.GLException: Unable to lock surface” error.

I read in this forum, that this could be caused by an setSize or something like this, which is set in the panel, but I don’t use it (or similar methodcalls) anywhere.
I call the view.renderOnce after I added the JPanel with the VirtualUnivers/View to my contentPane.
I develop with eclipse as IDE, but this should not cause this error, or am I wrong?

Thx,
Marc