Put Java Threading Class into a separate class

Posted by erlord on Stack Overflow See other posts from Stack Overflow or by erlord
Published on 2010-03-13T22:54:56Z Indexed on 2010/03/13 23:05 UTC
Read the original article Hit count: 266

Filed under:
|

Consider following SWT code example:

http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet151.java?view=co

How can I separate the inline defined class?

Thread thread = new Thread() {
        public void run() {
            ...
        }
    };

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?

© Stack Overflow or respective owner

Related posts about java

Related posts about thread