title: Put Java Threading Class into a separate class
body: <p>Consider following SWT code example:</p>
  
  <p><a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet151.java?view=co" rel="nofollow noreferrer">http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet151.java?view=co</a></p>
  
  <p>How can I separate the inline defined class?</p>
  
  <pre><code>Thread thread = new Thread() {
          public void run() {
              ...
          }
      };
  </code></pre>
  
  <p>I want to define a separate class which updates the table just like it does here. How do I pass the list back to the table? Example code?</p>