Actually, I'm creating a new JFrame, Canvas3D, Universe, BranchGroup, and
everything else (at least I think I am).
The two plots I'm bring up should be independent of each other.
> -----Original Message-----
> From: Roman Guskov [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, December 15, 2000 8:18 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [JAVA3D] A question...
>
> Hello Kraemer,,
>
> �������, 15 ������� 2000, you wrote:
>
> KMC> I'm working on an analysis suite that includes a 3D plot using Java
> 3D.
> KMC> When the plot is started a new window containing
> KMC> a 3D display (a new Canvas3D object, a new universe, ...) appears. I
> was
> KMC> hoping to be able to have multiple instances
> KMC> of this plot open at one time. However, when I open a second
> instance of
> KMC> the plot, I get a RestrictedAccess exception.
> KMC> The exception says that I am trying to set capability bits on
> something
> KMC> that's already live or compiled. Does anyone know
> KMC> what's happening?
>
> KMC> Max.
>
> KMC>
> ==========================================================================
> =
> KMC> To unsubscribe, send email to [EMAIL PROTECTED] and include in
> the body
> KMC> of the message "signoff JAVA3D-INTEREST". For general help, send
> email to
> KMC> [EMAIL PROTECTED] and include in the body of the message "help".
>
>
> Suppose you have one BranchGroup object. All the objects in the scene
> are attached to this object. This Object is
> attached to the Universe object(usually SimpleUniverse).
> And you want to display this BranchGroup object in several different
> windows?
>
> How do you open a new instance?
>
> You create new Frame or Panel or JFrame or JPanel and add the
> Canvas3D object that is already displayed in another Frame or Panel,
> suppose?
>
> Remember:
> When you attach the BranchGroup object to the SimpleUniverse, this
> object becomes live and compiled. And it no longer can be modified.
> In order to modify the BranchGroup object, before adding this object to a
> universe
> branchGroup.setCapability(ALLOW_DETACH) must be set. So you will be
> able to detach the branchGroup (branchGroup.detach()) and ONLY THEN
> modify it.
>
>
> Best regards,
> Roman Guskov mailto:[EMAIL PROTECTED]
>
> ==========================================================================
> =
> 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".