I have tried with the UIManager class to change the default color of the buttons and nothing
UIManager UI = new UIManager(); // clase para modificar JOptionPane
UI.put("OptionPane.background", new ColorUIResource(255, 255, 255));
UI.put("Panel.background", new ColorUIResource(255, 255, 255));
UI.put("Button.background", new ColorUIResource(74, 157, 206));
The idea would be to change the background color of the button and the color of the button text
Thanks for your help beforehand.
1st Form
Replace
new ColorUIResource(74, 157, 206)
withnew java.awt.Color(74, 157, 206)
.To set the font color
2nd Form
Customize your own botton and insert it into the Joption box