Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] force widget text to write message


Try calling Control.update().  It will force all outstanding paint events to be delivered before it returns.



Peter <scamatrallera@xxxxxxxxx>
Sent by: platform-swt-dev-bounces@xxxxxxxxxxx

08/10/2006 05:09 PM

Please respond to
"Eclipse Platform SWT component developers list." <platform-swt-dev@xxxxxxxxxxx>

To
platform-swt-dev@xxxxxxxxxxx
cc
Subject
[platform-swt-dev] force widget text to write message





hi,
I have a sequence like this in main thread

//...
1) dialogText.setText("Updating Domain");
2) updateDomain(o);
3) domainTreeViewer.refresh();
//...

2) is a long operation and I want do display the message 1) before it  
starts, however the message appear in the text widget only after the  
end of operation 2)

How can I force the message to be written immediately?

Thanks and have a nice day!
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev


Back to the top