Hi Lars,
still wrong :P
The ); should close the asyncExec( the correct position is:
// This will update the UI asynchronously, e.g. the calling thread
will continue
Display.getDefault().asyncExec(new Runnable() {
public void run() {
... do any work that updates the screen ...
}
});
// This will update the UI synchronously, e.g. the calling thread will
wait
// until the work is done
Display.getDefault().syncExec(new Runnable() {
public void run() {
... do any work that updates the screen ...
}
});
Best regards, Alex
On 25 Jan., 09:33, Lars Vogel <
lars.vo...@googlemail.com> wrote:
> Hi Alex,
>
> thanks for the feedback.
>
> Fixed.
>
> I also completely re-worked the tutorial to make the explanation simpler.
>
> Best regards, Lars
>
> 2012/1/20 Alex <
alex.bunkow...@googlemail.com>