Danny,
I have already tried this. I detach the first
branchgraph b1 from its universe. The screen
disappears. But when I add this to the locale of the
second virtual universe I get the
"IlleagalSharingException".
--- Danny Kahn <[EMAIL PROTECTED]> wrote:
> You might try using the detach method in the
> BranchGroup class, but I don't
> know if this will work.
>
>
> At 03:12 PM 4/12/2001 -0700, you wrote:
> >Hi All,
> >I am having difficuly in removing a BranchGroup
> object
> >from one Universe, and attaching it to another
> >universe.
> >
> >For example u1, and u2 are my virtual universe
> >objects. I have b1 and b2 as branchgroup objects.
> >u1-->b1 and u2-->b2. I have setCapability
> >(ALLOW_DETACH) for my brachgroup objects.
> >
> >My code goes,
> >
> >u1.getLocale().removeBranchGraph(b1)
> >u2.getLocale().addBranchGraph(b1);
> >
> >I have no problem in removing b1 from u1, but I
> could
> >not add b1 to u2's Locale without raising the
> >"IllegalSharingException". The documentation says
> no
> >nodes can be part of multiple universes. Bit in
> this
> >case I have clearly removed the node from the first
> >universe before adding to the second.
> >
> >Any help ?
> >
> >Thanks
> >
> >Ravichandran
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Get email at your own domain with Yahoo! Mail.
> >http://personal.mail.yahoo.com/
> >
>
>===========================================================================
> >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".
>
>
===========================================================================
> 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".
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
===========================================================================
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".