Blinking an SWT Label in Eclipse

I was playing around creating a monitoring tool for the WED Property Broker and thought how neat it would be if the information for the registered properties and actions blinked when acted upon. You see in property broker property changes and the calling of the wired actions is 100% declarative so if you have a bug in your meta-data or components are not acting correctly it can be a bit of a pain to figure out where it is going wrong. I combed the Internet looking for some sample code and found none! So here it is, on the Internet. I created it using basic UI threading techniques and encapsulated the call into a single method. You can change the delay to get slower or faster blinking.

Click here to see the code.

2 thoughts on “Blinking an SWT Label in Eclipse

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.