File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes Problem with colors of button. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Problem with colors of button." Watch "Problem with colors of button." New topic

Problem with colors of button.

P Jain
Ranch Hand

Joined: Jul 31, 2004
Posts: 52
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.

Regards<br />P Jain
I agree. Here's the link:
subject: Problem with colors of button.
It's not a secret anymore!