Using in eclipse + Canvas3D and SWING

as long as i keep my mousepointer over the dividers while i resize
everything goes fine
but as soon as my mousepointer gets mover over a canvas3dPanel the resizing stops eventhougth you are still dragging

the resizing cant keep up with the mouse
or should i first add Canvas3dPanel to a Jpanel and then add JPanel to JFrame? now is directly kinda add Canvas3dPanel to JFrame -> has evne worse result

i have uploaded the 2 versions (all including code)
http://users.skynet.be/fa006997/FourPanelSplitPaneUsingJPanel.jar
http://users.skynet.be/fa006997/FourPanelSplitPane.jar

First of all, you should remove the scene.compile() call, because it does nothing and the method is removed in the current CVS version and won’t be available in the next version.

But now for the real problem…

Update your CVS and take a look at the following two classes:

org.xith3d.render.canvas.FourViewsPanel
org.xith3d.test.ui.FourViewsPanelTest

Start org.xith3d.test.Xith3DTestStarter and select the ui.FourViewsPanelTest.

I think, this will help you.

Unfortunately there seems to be a problem with multiple Views on one VirtualUniverse. Only one View gets rendered. I found a quite old thread, where this problem was discussed. But it seems not to be solved. Does anybody know something about it?

Got a question about Xith3DEnvironment.
does this replace the code with the universe and where you add a scene and view to it? or is this something else?
thx

Look into the constructor of Xith3DEnvironment. There are VirtualUniverse, Locale and View created and stored in the instance. You can access them through appropriate methods. In the current CVS version there is the possibility to add more Views to an instance of (Ext)Xith3DEnvironment.

You can anyway add a scene to the Environment by calling addChild on the (Ext)Xith3DEnvironment instance.

How does this cvs thing work? is thare a jar available with all cvs in or do you no need to manualy dl and intergrate eme?

There is no recent cvs snapshot release. And I can’t upload one.

You will have to register on dev.java.net. Then request a read-only role on the xith-tk project (on dev.java.net). You certainly use eclipse. Just create a new project and select java->cvs_project in the project wizzard. Type in the information you will get from dev.java.net to link the eclipse project with the cvs project. Then synchronize and checkout. Whoala, you have the recent cvs code in your eclipse.