| GLCanvas does not receive paint events [message #989526] |
Thu, 06 December 2012 10:58 |
hortiz Mising name Messages: 77 Registered: July 2009 |
Member |
|
|
Hi!!!
We are using a glCanvas to display some data. A PaintListener is attached to this glCanvas and is in charge to update the image when necessary. Sometimes, we are interested in forcing the paint event. After realizing that doing a shell.layout() does not generate the paint event (when it includes a glCanvas) we decided to use the methods redraw() and update(). None of these methods generate the paint event.
However, this process (redraw() + update()) works perfectly when using a Canvas. We do not understand why as glCanvas inherits from Canvas...
Helene
|
|
|
Powered by
FUDForum. Page generated in 0.01891 seconds