i have problem in updating GUI from another thread
my code gives me exception
i debugged to find the reason of exception
i found that it is here
[ this part of Wedget class
if (display.thread != Thread.currentThread ()) {
if (display.threadId != OS.GetCurrentThreadId ()) {
error (SWT.ERROR_THREAD_INVALID_ACCESS);//hereeeee
}
thanks in advance