My application got a minor j3d display
problem.  The rendering of j3d works fine
except under some weird condition.
It's quite minor because the condition
required some special sequence of actions.
However, it's really confusing.



Here's the description of the problem.

Background information:

I have a j3d canvas inside a frame (and
other stuff in the frame too).  The frame has
a window listener and the listener brings
up a confirmation dialog.  The window
listener shares the same code as
the listener of menuitem File-Exit.

J3d canvas handles rotate, zoom, etc...

I was running my application on Window 2000.


Problem:

1) click on window decoration's close icon
   (x) - this will trigger the window closing
2) cancel the Exit

Now, the j3d canvas no longer updates itself.
Rotate works fine but no update.  Forced update
(e.g., resize the canvas) brings j3d canvas
back to live.  I know the rotate worked fine
because I got all the events and the forced
update shows the post rotate scene.
Call startRenderer after the confirmation
did not help.

"File-Exit" works fine even both "File-Exit"
and Window closing share the same code.

Any ideas?

Yang

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