Re: Appending Text to SWT Textbox from multiple threads.

2014-03-18 Thread Sharad Gupta
On Tuesday, 18 March 2014 at 07:20:05 UTC, Jacob Carlborg wrote: On Tuesday, 18 March 2014 at 07:19:05 UTC, Jacob Carlborg wrote: 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.asyncE

Re: Appending Text to SWT Textbox from multiple threads.

2014-03-18 Thread Jacob Carlborg
On Tuesday, 18 March 2014 at 07:19:05 UTC, Jacob Carlborg wrote: 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. Forgot the link to the example: http://git.eclipse.

Re: Appending Text to SWT Textbox from multiple threads.

2014-03-18 Thread Jacob Carlborg
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 T

Appending Text to SWT Textbox from multiple threads.

2014-03-17 Thread Sharad Gupta
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 insi