On Monday, 17 March 2014 at 23:16:16 UTC, Sharad Gupta wrote:
Hi All,
I am trying to update a text box from another thread but it has
me stumped right now.
What I am trying to achieve is that the user can Initiate
multiple pipeShell and the output from each of those should go
into its own Textbox in parallel.
I tried creating the SWT UI Controls inside as well as outside
my spawn but since they get added to a single parent Control
its getting maddeningly frustrating.
What exact problems do you have?
Note that SWT is not thread safe. All UI changes need to be made
on the UI thread. This is usually done using the
"Display.asyncExec" method.
--
/Jacob Carlborg