Hi, i can´t add Shape3D object at runtime

I have an BranchGroup added to my SimpleUniverse.
I have set the ALLOW_CHILDREN_EXTEND of the
BranchGroup

And now at Runtime. I try the following

  Shape3D object = ...;
  myBranchGroup.addChild(object);

Ok i get an exception that says, that i only can
add another BranchGroup.

OK i try the following

  BranchGroup b = new BranchGroup();
  b.addChild(objekt);
  myBranchGroup.addChild(b);

  BranchGroup b = new BranchGroup();
  myBranchGroup.addChild(b);
  b.addChild(objekt);

Noting works.

What i am doing wrong.

I have search throug the sun forums , but they have
deleted the articles. And in the JAVA3D-INTEREST group
i find nothing.

Please help me.

Thanks Sebastian

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/?.refer=text

===========================================================================
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".

Reply via email to