It works! A simple workaround until the bug is fixed. Thank you!
Pasi
-----Original Message-----
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED]]On Behalf Of Scott Rutledge
Sent: 4. syyskuuta 2002 1:32
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] Canvas
I've found a fix for this bug. Create your own canvas3d and implement
the paint method thusly:
public void paint(Graphics g)
{
super.paint(g);
Toolkit.getDefaultToolkit().sync();
}
One line...so long to figure out.
At 08:54 AM 8/23/2002 -0600, you wrote:
Ah, my favourite bug bites another one. This is a regression in 1.4. Bug
report is here:
http://developer.java.sun.com/developer/bugParade/bugs/4374079.html
<http://developer.java.sun.com/developer/bugParade/bugs/4374079.html>
This is ONLY an issue when running with javaw.exe. If you don't mind the
console, you can run with java.exe to get rid of the problem. The only
other workaround force repaints frequently (either on a timer or by
catching various events). AFAIK, it's not slated to be fixed until
1.4.2.
At 03:33 PM 8/23/2002 +0100, you wrote:
Thanks in advance for any help provided.
After attaching a canvas3D to a JPanel between operations of resizing
the window, or minimize and restore the canvas simply disappear and
reappear. I�m using jsdk 1.4 and java3d 1.3 openGL version under windows
2000.
Any idea ?
========================= 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".