[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform.swt] Re: Event Queue?

Hi,

Stefan Display#getCurrent() will always return null I haven't checked
that before.

Tom

Stefan Langer schrieb:
> From which thread are you calling getCurrent()? If not called from the
> UI Thread it will always return null.
> Also getDefault will create a Display if it can't find the current one.
> 
> Regards
> Stefan
>