Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » GLCanvas does not receive paint events
GLCanvas does not receive paint events [message #989526] Thu, 06 December 2012 10:58
hortiz Mising name is currently offline hortiz Mising name
Messages: 82
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
Previous Topic:Embedding/Integrating 3rd party editor in eclipse
Next Topic:int a tableview with image in the cell, table always jump back to the first row.
Goto Forum:
  


Current Time: Wed Aug 20 08:59:09 EDT 2014

Powered by FUDForum. Page generated in 0.06158 seconds