Hello,
I'am working on a program that allow to draw some kind of 3D graphs. The
user should be able to have multiple graphs open and work on anyone of them,
he could create a new graph too. I implements this with multiple Canvas3D,
each one is in a JFrame, has a universe and a root object, .... When
starting, the program only create one graph (ie a JFrame with a Canvas3D),
if I try to create a new graph (from another frame that have commands) the
new JFrame appears but the drawing of the canvas is very slow. Then if I do
anything in this new Canvas (picking, zoom, ...) I get this exception:
java.lang.IndexOutOfBoundsException: Index: -1, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java, Compiled Code)
at java.util.ArrayList.remove(ArrayList.java, Compiled Code)
at
javax.media.j3d.RenderMolecule.addRenderAtom(RenderMolecule.java:851)
at javax.media.j3d.RenderBin.findRenderMolecule(RenderBin.java:3115)
at javax.media.j3d.RenderBin.reInsertRenderAtom(RenderBin.java:2627)
at javax.media.j3d.RenderBin.reInsertTextureBin(RenderBin.java:2621)
at
javax.media.j3d.RenderBin.reInsertAttributeBin(RenderBin.java:2613)
at
javax.media.j3d.RenderBin.processShapeChanged(RenderBin.java:1319)
at javax.media.j3d.RenderBin.processMessages(RenderBin.java:797)
at
javax.media.j3d.StructureUpdateThread.doWork(StructureUpdateThread.java:79)
at javax.media.j3d.J3dThread.run(J3dThread.java:256)
I don't really understand it. I am working with jdk 1.2.2, java3D 1.2 beta
1. When I was working with java3D 1.1.2 this problem never append. Did
someone has an idea ?
Fred
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".