This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design 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