Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with colors of button.

 
P Jain
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
I am facing a poblem with color of button. I have colored the buttons in a panel,when I presses any button its color gets changed from it previous color.
In my application I have a Text Field and a button in a panel,when I presses that button the title of button should be print in the text field,but when I presses the button the text gets printed in the text field but the color of the button gets changed and a dim image of printed text(in text field) appears on the button.
How can I solve this problem.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic