Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SWT - Radio button text color question

 
Marc LaFleur
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have created a radio button and set some text to describe it.
Using the setForeground method does not work to change the color of the text.
Using setBackground does work but the text remains the default color.

Does anyone know how to change the radio button's default text color?

 
Freddy Wong
Ranch Hand
Posts: 959
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your code works fine for me.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic