• Post Reply Bookmark Topic Watch Topic
  • New Topic

setEnabled Defaults  RSS feed

 
Gerry Martin
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am writing an application, and in the code I disabled a toggle button,
Button.setEnabled(false);
This grays out the text in the button and makes it inactive. Is it possible to change the text color of a disabled button, and also make the border of the button the same color as the text, without doing a setBorder.
Thanx,
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!