Skip to Main Content

Java Programming

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!

Can a JButton be unclickable but not disabled?

807607Dec 22 2006 — edited Dec 22 2006
The reason I ask this I want the button to be basically disabled but not to lose it's color properties. I have a simple tic tac toe game but I want the X's and O's to be colored, if I set the buttons to disabled they lose their color.

Thanks,
Mike
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 19 2007
Added on Dec 22 2006
17 comments
3,700 views