Follow-up: to make popup menus work, you have to make sure you display them from the AWT event thread. Since you're probably responding to MouseEvents from a behavior, wrap your code in this:

EventQeue.invokeLater(new Runnable( {
   run() {
      popup.show(component,x,y);
}});

And all is good once again.

At 04:32 PM 9/3/2002 -0600, you wrote:
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

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 ?

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