colors - How to change the look of a disabled JButton in java -
I am creating a game and when I disable a button with You can add HTML coding which gives a large range of flexibility on your button, even here That's also on the disabled button. setEnabled (false); The button turns into gray, which fights with other colors in the game. Is it a way to change the color of the button when it is disabled?
example: button .set text (" 3 & lt; / html & Gt; ");
Comments
Post a Comment