Unfortuately it's not that easy. AWT components aren't double-buffered, especially the very heavy-weight Canvas3D.

At 07:02 PM 7/17/2002 -0400, you wrote:
The bug report implies that if I enable double buffering I can get around this issue.  The only way I know how to do this is via code.  Is there a flag in the VM that turns this on as well?
 
Peter
 
----- Original Message -----
From: Scott Rutledge
To: [EMAIL PROTECTED]
Sent: Wednesday, July 17, 2002 4:50 PM
Subject: Re: [JAVA3D] Applet refresh/repaint issues with Java3D beta2 release

Ah, my favourite bug. This is a Java 1.4 double-buffering bug. Add your comments to the following bug reports:
http://developer.java.sun.com/developer/bugParade/bugs/4458337.html
http://developer.java.sun.com/developer/bugParade/bugs/4664490.html

At 04:40 PM 7/17/2002 -0400, you wrote:
I have a Java3D Applet that texture maps some large images, around 1MB or so per image on 4 sides of the cube.  For some reason, when you move the mouse over the Applet window, or move the scroll bar on the browser, my rendered image disappears.  If I then perform an action that forces the repaint - e.g. click the left mouse button and move the mouse to rotate the image - the rendered image appears again.
 
I am in the process of over-riding the MouseMove event to see if I can capture the mouse movement and explicitly repaint the image, but I am wondering if there is a more straightforward way to come to a solution.  Anyone seen this before?  I have not found anything in the archives that speaks to this type of a problem.
 
thanks in advance -
 
Peter Worth
[EMAIL PROTECTED]
Java Systems Architect and Java3D novice
=========================
Scott Rutledge, Lead Programmer
3D Design Division
BEQ Technologies Inc.
http://www.beq.ca
========================= =========================================================================== 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".

=========================
Scott Rutledge, Lead Programmer
3D Design Division
BEQ Technologies Inc.
http://www.beq.ca
========================= =========================================================================== 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