At first time I assign 10 points for it to show 10 points in canvas
and sphere move from one point to the other. Next I want to
change that 10 points to another positions and then let it show
in canvas agian. And like this way so on.
I can show it in the forst time when I use fix point
After I change position, it is error exception and there's nothing in canvas
Pls tell me what should I do?
javax.media.j3d.IllegalSharingException: Sharing canvas with multiple views
at javax.media.j3d.View.addCanvas3D(View.java:2188)
at com.sun.j3d.utils.universe.Viewer.<init>(Viewer.java:376)
at com.sun.j3d.utils.universe.Viewer.<init>(Viewer.java:298)
at
com.sun.j3d.utils.universe.SimpleUniverse.<init>(SimpleUniverse.java:215)
at
com.sun.j3d.utils.universe.SimpleUniverse.<init>(SimpleUniverse.java:177)
at
com.sun.j3d.utils.universe.SimpleUniverse.<init>(SimpleUniverse.java:126)
at SplineAnim.actionPerformed(SplineAnim.java:615)
at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
at java.awt.Component.processMouseEvent(Component.java:5100)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:1003305
From: Alessandro borges <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] show in canvas
Date: Tue, 18 Nov 2003 11:58:22 -0300 (ART)
Look the SplineAnim Java3D demo.
Alessandro
--- Kampon Tangwaritorn <[EMAIL PROTECTED]>
escreveu: > hi
>
> I have 10 points for initializing and then let
> the sphere move from point
> to point. If I want to change position of each point
> how would I do?
> I've tried to change them but canvas still shows the
> same position.
>
> thanks so much
>
>
Yahoo! Mail - 6MB, anti-spam e antivírus gratuito. Crie sua conta agora:
http://mail.yahoo.com.br
_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE*
http://join.msn.com/?page=features/virus
===========================================================================
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".