[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.platform.swt] SWT Label redraw()/update()
|
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.