title: Run SWT Object in Background
body: <p>I created a custom eclipse editor and I need to set the status message in background (another thread). The message is too costly to be calculated and I need to run in background. To set this message I use this code:</p>
  
  <pre><code>    IActionBars actionBars = this.getEditorSite().getActionBars();
      actionBars.getStatusLineManager().setMessage(text);
  </code></pre>
  
  <p>And to run In background, I tried to create new Java Thread and I got the error "invalid thread access exception". I tried to use Display.getDefault().asyncExec and syncExec, but Its not run in background.</p>
  
  <p>Thanks a lot.</p>