My GUI has JTable with column that has boolean type which is being showed as a JCheckBox. Metal colors don't suit to my GUI, so I used next code:
ImageIcon icon = new ImageIcon(MyGUI.class.getResource("resources/checkbox1.png"));
UIManager.put("CheckBox.icon", icon1);
I got unselected checkbox I wanted, but there's no key in UIManager that I can change to customize selected JCheckBox. Is there way to change selected JCheckBox view globally? P.S. I tried both and opaque and transparent background, result is the same - checkbox doesn't work as it has to.