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 15:58
hortiz Mising name is currently offline hortiz Mising nameFriend
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: Mon Nov 24 20:41:57 GMT 2014

Powered by FUDForum. Page generated in 0.02412 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software