SWT updating labels

J

JNU

I am having trouble making SWT Label widgets display new messages.

Using the display.asyncExec mechanism I can write new messages to Text
widgets using textBox.append( "This is the text" ) - but I don't want
Text widgets I want Labels! There isn't an append() method for the
Label widget and using the setText() method doesn't work.

Anyone know how to update Labels???


Thanks in advance.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,143
Latest member
DewittMill
Top