Skip to content
Advertisement

How to change background color of JOptionPane?

I have added JOptionPane to my application but I do not know how to change background color to white?

JavaScript

Advertisement

Answer

By using the UIManager class

JavaScript

or

JavaScript
User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement