syncing animations using multiple jogl windows

My application uses mutiple GLCanvas’s that I would like to animate. Is there an easy way to syncronize the animations so that every GLCanvas renders itself before my frame counter advances?

many thanks

Hi,

use only one data souce, which is uses by all GLCanvases, then you don’t have a synchronization problem.

ciao torsten

Could someone provide a little more detail? I would like to animate multiple jogl GLCanvas windows that are to remain in sync. My code advances to the next frame and calls GLCanvas.repaint() for each window.

Is there a way to pause until after the repaints complete?