Skip to content
This repository has been archived by the owner on Jan 14, 2023. It is now read-only.

GLG2DCanvas renders only once #22

Open
nicktgn opened this issue Sep 17, 2013 · 1 comment
Open

GLG2DCanvas renders only once #22

nicktgn opened this issue Sep 17, 2013 · 1 comment

Comments

@nicktgn
Copy link

nicktgn commented Sep 17, 2013

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?

@ghost
Copy link

ghost commented Feb 3, 2014

Are you sure that the repaint manager doesn't get in your way? Please can you reproduce this behavior on a simple example?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant