>Date: Thu, 28 Feb 2002 18:32:30 -0800 >From: Sean Sylvis <[EMAIL PROTECTED]> >Subject: [JAVA3D] "invoking" the render loop >To: [EMAIL PROTECTED] >MIME-version: 1.0 >X-MIMEOLE: Produced By Microsoft Exchange V6.0.5762.3 >Content-transfer-encoding: quoted-printable >Content-class: urn:content-classes:message >Delivered-to: [EMAIL PROTECTED] >Thread-topic: "invoking" the render loop >Thread-index: AcHAyVYdcOC9Tos/TFCbija/Lh0V2Q== >X-MS-Has-Attach: >X-MS-TNEF-Correlator: > >Is there a reasonable way to "invoke" the Java3D render loop? > >I have some status text that I would like to update (remove old messages) every two seconds or so. Right now, I am using a javax.swing.Timer to schedule an actionEvent every two seconds that calls Canvas3D.repaint(). However, this results in a noticeable screen flicker that is not present when just mouse-rotating an object in the Canvas3D. > > Use View.repaint() But I guess in your case it is better use Behavior callback wakeupOnElapseTime() to acheive this.
- Kelvin -------------- Java 3D Team Sun Microsystems Inc. =========================================================================== 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".
