I am making a game and when I disable a button with setEnabled(false);
the buttons turns grey which clashes with the other colors in the game. Is their a way to change the color of the button when it is disabled?
You can also set a disable icon with JButton.setDisableIcon()
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With