Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Remove PaintListener in SWT(How to remove PaintListener after the 1st notification.)
Remove PaintListener in SWT [message #533351] Thu, 13 May 2010 13:43
vrush Mising nameFriend
Messages: 51
Registered: July 2009
Location: Pune

I have added paintListener to canvas so that I can capture event.gc and change the image.
I need a way to remove the listener after 1st notification.
I have added paintListener in canvas constructor. Tried removePaintlistener but it does not seem to be working.

Am I missing anything here? Badly stuck.
Any pointers, help, suggestion would be great.

Thanks in advance,
Previous Topic:UI layout suggestions
Next Topic:Automatically resize multi-line Text widget to match # of rows
Goto Forum:

Current Time: Sun Jan 19 18:14:59 GMT 2020

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

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

Back to the top