[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.platform.swt] Re: SWT Label redraw()/update()
|
Did someone call setRedraw(false) on an ancestor? This turns off drawing
for the widget and all children. Can you construct a snippet that shows the
problem? If so, enter a Bugzilla report. Thanks.
"Don Sedota" <sedota@xxxxxxxxxx> wrote in message
news:baeefg$a6f$1@xxxxxxxxxxxxxxxx
> I can't seem to get the repaint or specifically the redraw(), followed by
> an update(), to work for SWT labels within my plugin. I am trying to
> update the text in a particular Label within a customized view by doing
> the following while inside the event loop thread;
>
> label.setText(someText);
> label.redraw();
> label.update();
>
> It looks like the label.setText() is working, but the Label does not
> reflect the changes until I resize the screen. Does anyone have any idea
> what I might be missing? BTW - I'm running the plugin via the runtime
> workbench, if that makes any difference.
>
>
>