1. 4 years ago 

    (Java) Accessing Swing components from an SWT Thread

    Here’s a java tip for you guys.   When it is need to access Swing components from an SWT thread, use the following code.

    //Code Starts 

    Display display = new Display(); 

    display.asyncExec( new Runnable() {
        public void run() {
        //Your Code
        }
    });

    //Code Ends

  2. Notes

avatar_128
 
 
 
 

Tumblr