Following the example code, I wrapped my custom JComponent, which displays a video stream, into GLG2DCanvas. I call this component's repaint() method every time new video frame comes in. But it actually gets rendered only first time repaint() is called. All subsequent times I call repaint all the draw routines in the paintComponent() got ignored by the rendering pipeline despite being executed. Could you, please, suggest what might cause such behaviour?
Following the example code, I wrapped my custom JComponent, which displays a video stream, into GLG2DCanvas. I call this component's repaint() method every time new video frame comes in. But it actually gets rendered only first time repaint() is called. All subsequent times I call repaint all the draw routines in the paintComponent() got ignored by the rendering pipeline despite being executed. Could you, please, suggest what might cause such behaviour?