Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Technology Project and PMC » SWT UI-threading issue
SWT UI-threading issue [message #583034] Sat, 21 September 2002 01:12
Eclipse UserFriend
Originally posted by: pschork.teleias.com

Hi, I'm new SWT and GUI programming so forgive me if this should be
obvious. I've read through the SWT Threading issue doc but I'm still having
problems allowing my worker thread to communicate with my Shell.

http://www.eclipse.org/documentation/html/plugins/org.eclips e.platform.doc.i
sv/doc/guide/swt_threading.htm

I've got a simple shell application that spawns a worker thread (inner
class) . I want the worker thread to update the progress bar on the shell as
it goes. I've tried calling Display.getCurrent().asyncExec( ) from the
worker thread to update the progress bar but my worker thread can not
access the Display (UI-thread I guess). Any advice or example code would be
great.
Thanks,

Patrick
Previous Topic:SWT Menu
Next Topic:SWT for Novell
Goto Forum:
  


Current Time: Thu Apr 25 04:32:58 GMT 2024

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

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

Back to the top