I don't have an answer to your question, but you may be able to correct the
situation by explicitly calling flush().  The following is taken directly
from the API docs for J3DGraphics2D:

Note that the drawing methods in this class, including those inherited from
Graphics2D, are not necessarily executed immediately. They may be buffered
up for future execution. Applications must call the flush(boolean) method to
ensure that the rendering actually happens. The flush method is implicitly
called in the following cases:

The Canvas3D.swap method calls flush(true)
The Java 3D renderer calls flush(true) prior to swapping the buffer for a
double buffered on-screen Canvas3D
The Java 3D renderer calls flush(true) prior to copying into the off-screen
buffer of an off-screen Canvas3D
The Java 3D renderer calls flush(false) after calling the preRender,
renderField, postRender, and postSwap Canvas3D callback methods.

-----Original Message-----
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED]]On Behalf Of Williams, Christopher
Sent: Monday, April 03, 2000 1:01 PM
To: [EMAIL PROTECTED]
Subject: [JAVA3D] Question about the J3DGraphics2D object...


I am trying to draw a string into the J3DGraphics2D object that I am
grabbing from my Canvas3D.  When I do the drawString method, nothing shows
up on the screen.  But when I do a drawLine across the screen instead, that
works.  Are all the draw methods from the graphics object implemented?  I am
using JDK 1.2.2-5 with Java3D 1.2 beta 2 on a Solaris machine.
Thanks
Chris

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

Reply via email to