[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools] Re: VERY URGENT plugin actionSet + SWT aplication!?
|
This is an FAQ. You need to run your UI code in the UI thread. See
Display#synchExec(Runnable) and Display#asynchExec(Runnable).
- Jared
eric cros wrote:
> I've got a SWT UI application that works correctly, I've done a plugin
> with action set to call my UI application from Eclipse with a button, all
> is good (I've got my button that call the good class) but I've got the
> error
>
> Unhandled exception caught in event loop.
> Reason:
> Invalid thread access
>
>
> Why ? and how to fix this ??
> Thanks by advance (it is very urgent, I must give my plugin at end of the
> day)
> Eric