Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

problem in setting background colour for jButton.

843806Jan 29 2009 — edited Jan 30 2009
Hi,
I have a jButton in which I want to set the color of the body of the button to gray. But by setting the background color, the color of only the border surrounding the button is changed to red. How can I set the color of the the body of the button to gray?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 27 2009
Added on Jan 29 2009
11 comments
964 views