Unable to change background colour for JOptionPane
- by Sunil Kumar Sahoo
Hi I have created sample progeam which will give same look and feel of a confirm dialog and set the background colour as red.
But I donot know what is the problem that my background colour of option is displayed as the default colour but not red. also i need same look and feel of confirm dialog across all platforms.
Here is the code that I have…