Is there a way to change the selection color of a checkbox/radiobutton?

Here is how to do it for a JCheckBox
UIManager.put("CheckBox.focus",Color.RED);
There is a nice tool here: http://tips4java.wordpress.com/2008/10/09/uimanager-defaults/ that if you run the Java Web Start program it will allow you to browse the keys and values for each component.
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