pickTool is causing me a alot of grief.
when i try to make my second display, i get the error
javax.media.j3d.RestrictedAccessException: Cannot modify capability bits on
a live or compiled object
at
javax.media.j3d.SceneGraphObject.setCapabilities(SceneGraphObject.java:101)
at com.sun.j3d.utils.picking.PickTool.setCapabilities(PickTool.java:283)at
com.sun.j3d.utils.picking.PickTool.setCapabilities(PickTool.java:270)
so before i try to make the second diplay, i want to clear all the
capabilities of the PickTool, or terminate the pickTool capabilities for the
current session.
when i tried that i am getting the error below:
GraphicDisplay.java:804: cannot resolve symbol
symbol : method clearCapabilities ()
location: class com.sun.j3d.utils.picking.PickTool
PickTool.clearCapabilities();
^
i will appreciate any help.
Isaac
-----Original Message-----
From: Nathan Bower
To: Brobbey,Isaac (neuron)
Sent: 1/20/03 11:36 AM
Subject: Re: Cleaning live Branch Groups
Are you using a picktool?
I think you are along the right lines with trying to detach everything
possible before detaching and replacing the displays.
N
----- Original Message -----
From: "Brobbey,Isaac (neuron)" <[EMAIL PROTECTED]>
To: "'Nathan Bower '" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Monday, January 20, 2003 3:03 PM
Subject: Cleaning live Branch Groups
> Dear all:
>
> i thank you for your advise, but the thing is that , i have a java3D
applet
> which makes multiple displays. if one display is currently showing and
i
try
> to replace it with another new display, i get an error like
"compiled/live
> object, cannot change capability bits for PickTool", so i am trying to
clean
> the current display(i.e, the branchgroup and all its children) and
free
all
> the memory or if possible , terminate the virtual machine before
calling
the
> second display. even if i try to span a new browser after clicking a
button
> in the old browser, it still shows the same error. I am thinking which
is
> the best way to do this.
>
> i will appreciate any ideas,
>
> thnaks,
>
>
>
> Isaac
>
>
===========================================================================
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".